chore: Update actions to use Node24 (#6523)
# Conflicts: # .github/workflows/enos-run.yml
This commit is contained in:
1 parent
2c043d82fa
commit
fbf16b26b6
17 files changed
+109
-108
No files matched your search
+14
-14
@@ -25,7 +25,7 @@ jobs:
|
||||
plugin-cache-key: ${{ steps.plugin-cache-key.outputs.key }}
|
||||
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- name: Determine Go version
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
echo "Building with Go $(cat .go-version)"
|
||||
echo "go-version=$(cat .go-version)" >> "$GITHUB_OUTPUT"
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
|
||||
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
with:
|
||||
go-version: "${{ steps.get-go-version.outputs.go-version }}"
|
||||
cache: false
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
run: |
|
||||
echo "key=go-mod-${{ hashFiles('**/go.sum') }}" >> "$GITHUB_OUTPUT"
|
||||
- name: Set up Go modules cache
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.3
|
||||
with:
|
||||
path: |
|
||||
${{ steps.go-cache-paths.outputs.go-mod }}
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
echo "key=go-tools-${{ steps.get-go-version.outputs.go-version }}-${{ hashFiles('**/go.sum', './Makefile', './tools/tools.go') }}" >> "$GITHUB_OUTPUT"
|
||||
- name: Set up Go tools cache
|
||||
id: go-tools-cache
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.3
|
||||
with:
|
||||
path: |
|
||||
${{ steps.go-cache-paths.outputs.go-bin }}
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
echo "path=plugins/**/assets/*.gz" >> "$GITHUB_OUTPUT"
|
||||
- name: Set up plugin cache
|
||||
id: plugin-cache
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.3
|
||||
with:
|
||||
path: |
|
||||
${{ steps.plugin-cache-paths.outputs.path }}
|
||||
@@ -106,14 +106,14 @@ jobs:
|
||||
matrix:
|
||||
module: ["api", "sdk"]
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Set up go
|
||||
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
|
||||
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
with:
|
||||
go-version: "${{ needs.setup.outputs.go-version }}"
|
||||
cache: false
|
||||
- name: Set up Go modules cache
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.3
|
||||
with:
|
||||
path: |
|
||||
${{ needs.setup.outputs.cache-go-mod }}
|
||||
@@ -136,14 +136,14 @@ jobs:
|
||||
ulimit -Sa
|
||||
echo "Hard limits"
|
||||
ulimit -Ha
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- name: Set up go
|
||||
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
|
||||
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
with:
|
||||
go-version: "${{ needs.setup.outputs.go-version }}"
|
||||
cache: false
|
||||
- name: Set up Go modules cache
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.3
|
||||
with:
|
||||
path: |
|
||||
${{ needs.setup.outputs.cache-go-mod }}
|
||||
@@ -153,7 +153,7 @@ jobs:
|
||||
fail-on-cache-miss: false
|
||||
- name: Set up Go tools cache
|
||||
id: go-tools-cache
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.3
|
||||
with:
|
||||
path: |
|
||||
${{ needs.setup.outputs.cache-go-bin }}
|
||||
@@ -167,7 +167,7 @@ jobs:
|
||||
make tools
|
||||
- name: Set up plugin cache
|
||||
id: plugin-cache
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
|
||||
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.3
|
||||
with:
|
||||
path: |
|
||||
${{ needs.setup.outputs.plugin-cache-path }}
|
||||
@@ -187,7 +187,7 @@ jobs:
|
||||
until pg_isready -h 127.0.0.1; do docker container inspect boundary-sql-tests &> /dev/null || exit 255; sleep 1; done
|
||||
|
||||
- name: Test
|
||||
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
|
||||
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
|
||||
env:
|
||||
TESTARGS: -v
|
||||
TEST_TIMEOUT: 40m
|
||||
|
||||
Reference in new issue
Block a user