Cache Go modules between test runs

This commit is contained in:
Gabe Kangas 2023-02-15 15:01:14 -08:00
parent d7675a7d29
commit cb400e7b22
No known key found for this signature in database
GPG key ID: 4345B2060657F330
5 changed files with 6 additions and 0 deletions

View file

@ -24,6 +24,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '1.18.8'
cache: true
- name: Install Google Chrome
run: sudo apt-get install google-chrome-stable

View file

@ -29,6 +29,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '1.18.8'
cache: true
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3

View file

@ -28,6 +28,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '1.18.8'
cache: true
- name: Cache node modules
uses: actions/cache@v2

View file

@ -18,6 +18,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: '1.18.8'
cache: true
- name: Cache node modules
uses: actions/cache@v2

View file

@ -22,6 +22,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: '^1'
cache: true
- name: Run tests
run: go test ./...
@ -43,6 +44,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: '^1'
cache: true
- name: Run tests
run: go test ./...