Skip to content

Commit

Permalink
ci: bump workflow action, avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Feb 10, 2024
1 parent 0f11ee6 commit 8427621
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/apidiff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ jobs:
compat:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
cache: false
go-version: 1.22
- run: go install golang.org/x/exp/cmd/apidiff@latest
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: master
- run: apidiff -w uuid.baseline .
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
clean: false
- run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
unit-tests:
strategy:
matrix:
go-version: [1.19, 1.20.x, 1.21]
go-version: [1.20.x, 1.21.x, 1.22]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go test -v ./...

0 comments on commit 8427621

Please sign in to comment.