Skip to content

Commit ac50131

Browse files
tianonniheconomoum
authored andcommitted
chore(git): update GitHub Actions to use new bashbrew action
This should fix errors that the old code would've run into thanks to the update to Go 1.18. It should help prevent them in the future by pinning to a specific release of both Bashbrew and the related scripts.
1 parent 9097997 commit ac50131

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ jobs:
1818
outputs:
1919
strategy: ${{ steps.generate-jobs.outputs.strategy }}
2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v3
22+
- uses: docker-library/[email protected]
2223
- id: generate-jobs
2324
name: Generate Jobs
2425
run: |
25-
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
26-
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
26+
strategy="$(GITHUB_REPOSITORY=satosa "$BASHBREW_SCRIPTS/github-actions/generate.sh")"
27+
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
2728
jq . <<<"$strategy" # sanity check / debugging aid
28-
echo "::set-output name=strategy::$strategy"
2929
3030
test:
3131
needs: generate-jobs
3232
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
3333
name: ${{ matrix.name }}
3434
runs-on: ${{ matrix.os }}
3535
steps:
36-
- uses: actions/checkout@v1
36+
- uses: actions/checkout@v3
3737
- name: Prepare Environment
3838
run: ${{ matrix.runs.prepare }}
3939
- name: Pull Dependencies

0 commit comments

Comments
 (0)