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