mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 12:18:02 +03:00
Cache Go modules between test runs
This commit is contained in:
parent
d7675a7d29
commit
cb400e7b22
5 changed files with 6 additions and 0 deletions
1
.github/workflows/browser-testing.yml
vendored
1
.github/workflows/browser-testing.yml
vendored
|
@ -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
|
||||
|
|
1
.github/workflows/go-lint.yml
vendored
1
.github/workflows/go-lint.yml
vendored
|
@ -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
|
||||
|
|
1
.github/workflows/hls-tests.yml
vendored
1
.github/workflows/hls-tests.yml
vendored
|
@ -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
|
||||
|
|
1
.github/workflows/screenshots.yml
vendored
1
.github/workflows/screenshots.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
|
@ -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 ./...
|
||||
|
|
Loading…
Reference in a new issue