Skip to content

Commit

Permalink
Merge pull request #46 from shogo82148/checkout-first
Browse files Browse the repository at this point in the history
Checkout first
  • Loading branch information
shogo82148 committed Mar 7, 2024
2 parents b796968 + 3bed77f commit 438bbef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
- arm64
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"

- name: checkout
uses: actions/checkout@v4

- name: build-${{ matrix.goos }}-${{ matrix.goarch }}
run: |
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
- "1.17"
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: checkout
uses: actions/checkout@v4

- name: test
run: |
go test --race ./...
Expand Down Expand Up @@ -79,14 +79,14 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22"

- name: checkout
uses: actions/checkout@v4

- name: gofmt
run: |
test -z "$(gofmt -s -d . | tee /dev/stderr)"
Expand Down

0 comments on commit 438bbef

Please sign in to comment.