GitHub Actions: switch to setup-go@v4 which enables caching
This commit is contained in:
parent
d746ecb0e4
commit
cf9b0d57e8
|
@ -13,15 +13,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
# Run on the latest minor release of Go 1.19:
|
# Run on the latest minor release of Go 1.20:
|
||||||
go-version: ^1.19
|
go-version: ^1.20
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Ensure all files were formatted as per gofmt
|
- name: Ensure all files were formatted as per gofmt
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue