chore: use cache in CI and bump checkout action to v3

This commit is contained in:
Daniel Carrillo 2023-01-26 20:35:39 +01:00 committed by Daniel Carrillo
parent 1a986a029f
commit 5982683cdd
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16

View File

@ -15,12 +15,13 @@ jobs:
matrix:
make: ["lint", "test"]
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- name: install go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: "^1.19"
go-version: "1.19"
cache: true
- name: Lint
run: make ${{ matrix.make }}
@ -33,7 +34,7 @@ jobs:
matrix:
goosarch: [linux-amd64]
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
with:
fetch-depth: 0