2
0

chore(actions): clear go module cache in all build jobs
Some checks failed
Build and Release / Create Release (push) Has been skipped
Build and Release / Lint (push) Failing after 1m32s
Build and Release / Build Binaries (amd64, windows, windows-latest) (push) Has been skipped
Build and Release / Build Binaries (amd64, linux, linux-latest) (push) Has been skipped
Build and Release / Build Binaries (amd64, darwin, macos) (push) Has been skipped
Build and Release / Build Binaries (arm64, darwin, macos) (push) Has been skipped
Build and Release / Build Binary (linux/arm64) (push) Has been skipped
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 3m36s
Build and Release / Unit Tests (push) Successful in 3m38s

Add module cache clearing step to all build workflow jobs to prevent stale dependency issues across different platforms (Linux, macOS, Windows)
This commit is contained in:
2026-01-25 12:35:11 -05:00
parent 86a10cb4cb
commit ec46c8e97a
2 changed files with 15 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: Clear Go module cache
run: go clean -modcache
- name: Update vault dependency
env:
GOPRIVATE: ""
@@ -90,6 +93,9 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: Clear Go module cache
run: go clean -modcache
- name: Update vault dependency
env:
GOPRIVATE: ""
@@ -147,6 +153,9 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: Clear Go module cache
run: go clean -modcache
- name: Update vault dependency
env:
GOPRIVATE: ""
@@ -336,6 +345,9 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: false
- name: Clear Go module cache
run: go clean -modcache
- name: Update vault dependency (Unix)
if: matrix.goos != 'windows'
env:

View File

@@ -14,9 +14,12 @@ export function initRepositoryActionView() {
runIndex: el.getAttribute('data-run-index'),
jobIndex: el.getAttribute('data-job-index'),
actionsURL: el.getAttribute('data-actions-url'),
runnersUrl: el.getAttribute('data-runners-url'),
canAdmin: el.getAttribute('data-can-admin') === 'true',
locale: {
approve: el.getAttribute('data-locale-approve'),
cancel: el.getAttribute('data-locale-cancel'),
manageRunners: el.getAttribute('data-locale-manage-runners'),
rerun: el.getAttribute('data-locale-rerun'),
rerun_all: el.getAttribute('data-locale-rerun-all'),
scheduled: el.getAttribute('data-locale-runs-scheduled'),