Skip to content

Commit d98268a

Browse files
committed
Fix YAML issues
1 parent ffcae5e commit d98268a

File tree

4 files changed

+54
-50
lines changed

4 files changed

+54
-50
lines changed

perl-module-macos.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# brian's standard GitHub Actions macOS config for Perl 5 modules
2-
# version 20240731.001
2+
# version 20240824.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
@@ -8,6 +8,7 @@
88
# in your repo settings. Or not. It still works if it isn't defined.
99
# In that environment, add whatever environment variables or secrets
1010
# that you want.
11+
---
1112
name: macos
1213

1314
# https://github.com/actions/checkout/issues/1590
@@ -16,8 +17,8 @@ env:
1617

1718
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-concurrency
1819
concurrency:
19-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
20-
cancel-in-progress: true
20+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
21+
cancel-in-progress: true
2122

2223
on:
2324
push:
@@ -117,7 +118,7 @@ jobs:
117118
- name: Run coverage tests
118119
if: env.PERL_VERSION != 'v5.8'
119120
env:
120-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121122
run: |
122123
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
123124
perl Makefile.PL

perl-module-release.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# This requires that you configure a repository secret named
1313
# RELEASE_ACTION_TOKEN with a GitHub Personal Access Token
1414
# that has "read and write" permissions on Repository/Contents
15+
---
1516
name: release
1617

1718
# https://github.com/actions/checkout/issues/1590
@@ -46,11 +47,11 @@ jobs:
4647
environment: release
4748
runs-on: ${{ matrix.os }}
4849
strategy:
49-
matrix:
50-
os:
51-
- ubuntu-20.04
52-
perl-version:
53-
- 'latest'
50+
matrix:
51+
os:
52+
- ubuntu-20.04
53+
perl-version:
54+
- 'latest'
5455
container:
5556
image: perl:${{ matrix.perl-version }}
5657
steps:
@@ -105,15 +106,15 @@ jobs:
105106
id: attestation
106107
uses: actions/attest-build-provenance@v1
107108
with:
108-
subject-path: ${{ env.ASSET_NAME }}
109+
subject-path: ${{ env.ASSET_NAME }}
109110
- name: upload
110111
uses: softprops/action-gh-release@v1
111112
with:
112-
body_path: Changes-latest
113-
draft: false
114-
prerelease: false
115-
name: ${{ steps.version.outputs.name }}
116-
files: |
113+
body_path: Changes-latest
114+
draft: false
115+
prerelease: false
116+
name: ${{ steps.version.outputs.name }}
117+
files: |
117118
${{ env.ASSET_NAME }}
118119
${{ steps.attestation.outputs.bundle-path }}
119-
token: ${{ secrets.RELEASE_ACTION_TOKEN }}
120+
token: ${{ secrets.RELEASE_ACTION_TOKEN }}

perl-module-ubuntu.yml

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# brian's standard GitHub Actions Ubuntu config for Perl 5 modules
2-
# version 20240731.001
2+
# version 20240824.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
@@ -8,6 +8,7 @@
88
# in your repo settings. Or not. It still works if it isn't defined.
99
# In that environment, add whatever environment variables or secrets
1010
# that you want.
11+
---
1112
name: ubuntu
1213

1314
# https://github.com/actions/checkout/issues/1590
@@ -16,8 +17,8 @@ env:
1617

1718
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-concurrency
1819
concurrency:
19-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
20-
cancel-in-progress: true
20+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
21+
cancel-in-progress: true
2122

2223
on:
2324
push:
@@ -53,27 +54,27 @@ jobs:
5354
environment: automated_testing
5455
runs-on: ${{ matrix.os }}
5556
strategy:
56-
matrix:
57-
os:
58-
- ubuntu-22.04
59-
perl-version:
60-
- '5.8-buster'
61-
- '5.10-buster'
62-
- '5.12-buster'
63-
- '5.14-buster'
64-
- '5.16-buster'
65-
- '5.18-buster'
66-
- '5.20-buster'
67-
- '5.22-buster'
68-
- '5.24-buster'
69-
- '5.26-buster'
70-
- '5.28-buster'
71-
- '5.30-bullseye'
72-
- '5.32-bullseye'
73-
- '5.34-bullseye'
74-
- '5.36-bookworm'
75-
- '5.38-bookworm'
76-
- 'latest'
57+
matrix:
58+
os:
59+
- ubuntu-22.04
60+
perl-version:
61+
- '5.8-buster'
62+
- '5.10-buster'
63+
- '5.12-buster'
64+
- '5.14-buster'
65+
- '5.16-buster'
66+
- '5.18-buster'
67+
- '5.20-buster'
68+
- '5.22-buster'
69+
- '5.24-buster'
70+
- '5.26-buster'
71+
- '5.28-buster'
72+
- '5.30-bullseye'
73+
- '5.32-bullseye'
74+
- '5.34-bullseye'
75+
- '5.36-bookworm'
76+
- '5.38-bookworm'
77+
- 'latest'
7778
container:
7879
image: perl:${{ matrix.perl-version }}
7980
steps:
@@ -105,7 +106,7 @@ jobs:
105106
run: |
106107
cpanm --notest --installdeps --with-suggests --with-recommends .
107108
- name: Show cpanm failures
108-
if: ${{ failure() }}
109+
if: ${{ failure() }}
109110
run: |
110111
cat /github/home/.cpanm/work/*/build.log
111112
- name: Run tests

perl-module-windows.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# brian's standard GitHub Actions Windows config for Perl 5 modules
2-
# version 20240731.001
2+
# version 20240824.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
@@ -8,6 +8,7 @@
88
# in your repo settings. Or not. It still works if it isn't defined.
99
# In that environment, add whatever environment variables or secrets
1010
# that you want.
11+
---
1112
name: windows
1213

1314
# https://github.com/actions/checkout/issues/1590
@@ -16,8 +17,8 @@ env:
1617

1718
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-concurrency
1819
concurrency:
19-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
20-
cancel-in-progress: true
20+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
21+
cancel-in-progress: true
2122

2223
on:
2324
push:
@@ -54,10 +55,10 @@ jobs:
5455
runs-on: ${{ matrix.os }}
5556
# store any secrets in an environment named "testing"
5657
strategy:
57-
matrix:
58-
os:
59-
- windows-2019
60-
- windows-2022
58+
matrix:
59+
os:
60+
- windows-2019
61+
- windows-2022
6162
steps:
6263
- run: git config --global core.autocrlf false
6364
- uses: actions/checkout@v3
@@ -93,7 +94,7 @@ jobs:
9394
# stuff in parallel.
9495
- name: Run tests in parallel
9596
env:
96-
HARNESS_OPTIONS: j10
97+
HARNESS_OPTIONS: j10
9798
run: |
9899
perl Makefile.PL
99100
make test
@@ -112,7 +113,7 @@ jobs:
112113
- name: Run coverage tests
113114
if: env.WINDOWS_SKIP_COVERAGE != 0
114115
env:
115-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116117
run: |
117118
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
118119
perl Makefile.PL

0 commit comments

Comments
 (0)