Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Apr 11, 2024
1 parent 259462e commit af3f7bc
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/linux.yml
@@ -1,8 +1,13 @@
# brian's standard GitHub Actions Ubuntu config for Perl 5 modules
# version 20230718.001
# version 20240130.001
# https://github.com/briandfoy/github_workflows
# https://github.com/features/actions
# This file is licensed under the Artistic License 2.0
#
# This uses the AUTOMATED_TESTING environment that you can set up
# in your repo settings. Or not. It still works if it isn't defined.
# In that environment, add whatever environment variables or secrets
# that you want.
name: ubuntu

on:
Expand Down Expand Up @@ -36,6 +41,7 @@ on:

jobs:
perl:
environment: automated_testing
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -91,7 +97,7 @@ jobs:
- name: Show cpanm failures
if: ${{ failure() }}
run: |
cat /home/runner/.cpanm/work/*/build.log
cat /github/home/.cpanm/work/*/build.log
- name: Run tests
run: |
perl Makefile.PL
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/macos.yml
@@ -1,8 +1,13 @@
# brian's standard GitHub Actions macOS config for Perl 5 modules
# version 20220902.001
# version 20240130.001
# https://github.com/briandfoy/github_workflows
# https://github.com/features/actions
# This file is licensed under the Artistic License 2.0
#
# This uses the AUTOMATED_TESTING environment that you can set up
# in your repo settings. Or not. It still works if it isn't defined.
# In that environment, add whatever environment variables or secrets
# that you want.
name: macos

on:
Expand Down Expand Up @@ -36,6 +41,7 @@ on:

jobs:
perl:
environment: automated_testing
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
@@ -1,5 +1,5 @@
# brian's standard GitHub Actions release config for Perl 5 modules
# version 20230604.001
# version 20240124.003
# https://github.com/briandfoy/github_workflows
# https://github.com/features/actions
# This file is licensed under the Artistic License 2.0
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/windows.yml
@@ -1,8 +1,13 @@
# brian's standard GitHub Actions Windows config for Perl 5 modules
# version 20220902.001
# version 20240130.001
# https://github.com/briandfoy/github_workflows
# https://github.com/features/actions
# This file is licensed under the Artistic License 2.0
#
# This uses the AUTOMATED_TESTING environment that you can set up
# in your repo settings. Or not. It still works if it isn't defined.
# In that environment, add whatever environment variables or secrets
# that you want.
name: windows

on:
Expand Down Expand Up @@ -36,6 +41,7 @@ on:

jobs:
perl:
environment: automated_testing
runs-on: ${{ matrix.os }}
# store any secrets in an environment named "testing"
strategy:
Expand Down

0 comments on commit af3f7bc

Please sign in to comment.