Skip to content

Commit

Permalink
Update to actions/setup-go@v3 (lestrrat-go#702)
Browse files Browse the repository at this point in the history
* see if this works for setup-go@v3

* update for smoke tests

* Use the notation used in the docs

I guess this worked, but we'll try to be true to the docs

* Update benchmark

* seems like we don't need to do anything special here
  • Loading branch information
lestrrat authored Apr 18, 2022
1 parent fd4d2b7 commit 3a59019
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.17.x', '1.16.x' ]
go: [ '1.18', '1.17', '1.16' ]
name: "Test [ Go ${{ matrix.go }} / JSON Backend ${{ matrix.json_backend }} ]"
steps:
- name: Checkout repository
Expand All @@ -24,9 +24,10 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Install Go stable version
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Install benchstat
run: |
go install golang.org/x/perf/cmd/benchstat@latest
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
go_tags: [ 'stdlib', 'goccy', 'es256k', 'all']
go: [ '1.18.x', '1.17.x', '1.16.x' ]
go: [ '1.18', '1.17', '1.16' ]
name: "Test [ Go ${{ matrix.go }} / Tags ${{ matrix.go_tags }} ]"
steps:
- name: Checkout repository
Expand All @@ -27,9 +27,10 @@ jobs:
${{ runner.os }}-go-
- name: Install Go stable version
if: matrix.go != 'tip'
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Install Go tip
if: matrix.go == 'tip'
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
go_tags: [ 'stdlib', 'goccy', 'es256k', 'all' ]
go: [ '1.18.x', '1.17.x', '1.16.x' ]
go: [ '1.18', '1.17', '1.16' ]
name: "Smoke [ Go ${{ matrix.go }} / Tags ${{ matrix.go_tags }} ]"
steps:
- name: Checkout repository
Expand All @@ -32,9 +32,10 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Install Go stable version
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Install stringer
run: go install golang.org/x/tools/cmd/stringer@latest
- name: Install jose
Expand Down

0 comments on commit 3a59019

Please sign in to comment.