Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 704cd7b

Browse files
committedJun 16, 2025·
ci: version bump to bashbrew@HEAD
1 parent 96d219f commit 704cd7b

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed
 

‎.github/workflows/ci.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,48 @@ name: GitHub CI
33
on:
44
pull_request:
55
push:
6+
workflow_dispatch:
67
schedule:
78
- cron: 0 0 * * 0
8-
workflow_dispatch:
99

1010
defaults:
1111
run:
1212
shell: 'bash -Eeuo pipefail -x {0}'
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
permissions:
19+
contents: read
20+
1421
jobs:
22+
1523
generate-jobs:
1624
name: Generate Jobs
1725
runs-on: ubuntu-latest
1826
outputs:
1927
strategy: ${{ steps.generate-jobs.outputs.strategy }}
2028
steps:
21-
- uses: actions/checkout@v3
22-
- uses: docker-library/bashbrew@v0.1.5
29+
- uses: actions/checkout@v4
30+
- uses: docker-library/bashbrew@HEAD
2331
- id: generate-jobs
2432
name: Generate Jobs
2533
run: |
2634
strategy="$(GITHUB_REPOSITORY=satosa "$BASHBREW_SCRIPTS/github-actions/generate.sh")"
27-
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
28-
jq . <<<"$strategy" # sanity check / debugging aid
35+
36+
EOF="EOF-$RANDOM-$RANDOM-$RANDOM"
37+
echo "strategy<<$EOF" >> "$GITHUB_OUTPUT"
38+
jq <<<"$strategy" . | tee -a "$GITHUB_OUTPUT"
39+
echo "$EOF" >> "$GITHUB_OUTPUT"
2940
3041
test:
3142
needs: generate-jobs
3243
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
3344
name: ${{ matrix.name }}
3445
runs-on: ${{ matrix.os }}
3546
steps:
36-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
3748
- name: Prepare Environment
3849
run: ${{ matrix.runs.prepare }}
3950
- name: Pull Dependencies

0 commit comments

Comments
 (0)
Please sign in to comment.