mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2024-12-22 07:28: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:
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user