mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(ci): disable cache on gh
This commit is contained in:
committed by
Łukasz Mierzwa
parent
d5ac42ce39
commit
956f684784
1
.github/workflows/go-maintenance.yml
vendored
1
.github/workflows/go-maintenance.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.2
|
||||
cache: false
|
||||
|
||||
- name: Mock web assets
|
||||
run: make mock-assets
|
||||
|
||||
1
.github/workflows/go-mod-tidy.yml
vendored
1
.github/workflows/go-mod-tidy.yml
vendored
@@ -22,6 +22,7 @@ jobs:
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.2
|
||||
cache: false
|
||||
|
||||
- name: Run go mod tidy
|
||||
run: |
|
||||
|
||||
1
.github/workflows/node-maintenance.yml
vendored
1
.github/workflows/node-maintenance.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: false
|
||||
|
||||
- name: Regenerate package-lock.json
|
||||
run: make -C ui npm-upgrade
|
||||
|
||||
1
.github/workflows/node-version.yml
vendored
1
.github/workflows/node-version.yml
vendored
@@ -28,6 +28,7 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: false
|
||||
|
||||
- name: Regenerate ui package-lock.json
|
||||
run: cd ui && npm i
|
||||
|
||||
33
.github/workflows/test.yml
vendored
33
.github/workflows/test.yml
vendored
@@ -23,6 +23,7 @@ jobs:
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.2
|
||||
cache: false
|
||||
|
||||
- name: Restore cache
|
||||
id: cache-go-modules
|
||||
@@ -61,6 +62,7 @@ jobs:
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.2
|
||||
cache: false
|
||||
|
||||
- name: Restore cache
|
||||
id: cache-go-modules
|
||||
@@ -98,8 +100,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'ui/package-lock.json'
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Test Node JS code
|
||||
run: ${{ matrix.env }} make -C ui test-js
|
||||
@@ -123,8 +125,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'ui/package-lock.json'
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Lint Node JS code
|
||||
run: make -C ui lint-js
|
||||
@@ -140,6 +142,7 @@ jobs:
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.2
|
||||
cache: false
|
||||
|
||||
- name: Format Go code
|
||||
run: make format-go
|
||||
@@ -158,8 +161,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'ui/package-lock.json'
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Lint Node JS code
|
||||
run: make -C ui format
|
||||
@@ -191,8 +194,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'ui/package-lock.json'
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Run npm install
|
||||
run: cd ui && npm i
|
||||
@@ -295,6 +298,7 @@ jobs:
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.2
|
||||
cache: false
|
||||
|
||||
- name: Restore cache
|
||||
uses: actions/cache/restore@v3
|
||||
@@ -346,8 +350,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'ui/package-lock.json'
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Diff bundle size
|
||||
if: steps.filter.outputs.ui == 'true'
|
||||
@@ -380,8 +384,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'ui/package-lock.json'
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Run Percy
|
||||
if: steps.filter.outputs.percy == 'true'
|
||||
@@ -404,6 +408,7 @@ jobs:
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.20.2
|
||||
cache: false
|
||||
|
||||
- name: Cache Go
|
||||
if: github.event_name != 'pull_request'
|
||||
@@ -431,8 +436,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 19.8.1
|
||||
cache: 'npm'
|
||||
cache-dependency-path: 'ui/package-lock.json'
|
||||
cache: "npm"
|
||||
cache-dependency-path: "ui/package-lock.json"
|
||||
|
||||
- name: Cross compile binaries
|
||||
if: github.event_name != 'pull_request'
|
||||
|
||||
Reference in New Issue
Block a user