ci: fix ref to local workflows
CI / install-dependencies (pull_request) Successful in 15s
CI / image check (pull_request) Failing after 5s
CI / check lint (pull_request) Failing after 11s
CI / check format (pull_request) Successful in 1m4s
CI / test (pull_request) Successful in 1m22s
CI / build check (pull_request) Successful in 5m49s
CI / install-dependencies (pull_request) Successful in 15s
CI / image check (pull_request) Failing after 5s
CI / check lint (pull_request) Failing after 11s
CI / check format (pull_request) Successful in 1m4s
CI / test (pull_request) Successful in 1m22s
CI / build check (pull_request) Successful in 5m49s
This commit is contained in:
@@ -10,7 +10,9 @@ on:
|
||||
|
||||
jobs:
|
||||
run-script:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
- linux_amd64
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
@@ -20,7 +22,8 @@ jobs:
|
||||
go-version-file: go.mod
|
||||
check-latest: true
|
||||
- name: Create cache key
|
||||
uses: .gitea/actions/go-cache-key@main
|
||||
id: go-cache-key
|
||||
uses: ./.gitea/actions/go-cache-key
|
||||
- name: Install dependencies from Cache
|
||||
id: cache-go
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
@@ -28,8 +31,8 @@ jobs:
|
||||
path: |
|
||||
/go_path
|
||||
/go_cache
|
||||
key: go_path-${{ steps.hash-go.outputs.hash }}
|
||||
key: go_path-${{ steps.go-cache-key.outputs.hash }}
|
||||
restore-keys: |-
|
||||
go_cache-${{ steps.hash-go.outputs.hash }}
|
||||
go_cache-${{ steps.go-cache-key.outputs.hash }}
|
||||
- name: Run script
|
||||
run: make ${{ inputs.script }}
|
||||
|
||||
Reference in New Issue
Block a user