Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Cache Go modules between test runs

Gabe Kangas9ad5ce246438
diff --git a/.github/workflows/browser-testing.yml b/.github/workflows/browser-testing.yml
index e9f6d61663..dce6a507b1 100644
--- a/.github/workflows/browser-testing.yml
+++ b/.github/workflows/browser-testing.yml
@@ -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
diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml
index 124f773efe..763dbe8800 100644
--- a/.github/workflows/go-lint.yml
+++ b/.github/workflows/go-lint.yml
@@ -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
diff --git a/.github/workflows/hls-tests.yml b/.github/workflows/hls-tests.yml
index 53d100cf72..b0df0e9436 100644
--- a/.github/workflows/hls-tests.yml
+++ b/.github/workflows/hls-tests.yml
@@ -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
diff --git a/.github/workflows/screenshots.yml b/.github/workflows/screenshots.yml
index cd235df4f0..fd64d9485b 100644
--- a/.github/workflows/screenshots.yml
+++ b/.github/workflows/screenshots.yml
@@ -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
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 9b86244b3f..e25f2da3ec 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -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 ./...