mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2024-12-22 17:38:00 +00:00
chore: use cache in CI and bump checkout action to v3
This commit is contained in:
parent
1a986a029f
commit
5982683cdd
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user