-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from atoomic/md
Prep before publishing action
- Loading branch information
Showing
483 changed files
with
7,376 additions
and
101,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
name: "Check Workflow" | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
|
||
since-v520: | ||
runs-on: ubuntu-latest | ||
name: 'since v5.20' | ||
outputs: | ||
perl-versions: ${{ steps.action.outputs.perl-versions }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "uses perl-versions" | ||
id: action | ||
uses: ./ | ||
with: | ||
since-perl: v5.20 | ||
|
||
since-520: | ||
runs-on: ubuntu-latest | ||
name: 'since 5.20' | ||
outputs: | ||
perl-versions: ${{ steps.action.outputs.perl-versions }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "uses perl-versions" | ||
id: action | ||
uses: ./ | ||
with: | ||
since-perl: "5.20" | ||
|
||
since-536-with-devel: | ||
runs-on: ubuntu-latest | ||
name: 'since 5.36 with devel' | ||
outputs: | ||
perl-versions: ${{ steps.action.outputs.perl-versions }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "uses perl-versions" | ||
id: action | ||
uses: ./ | ||
with: | ||
since-perl: 5.36 | ||
with-devel: true | ||
|
||
test-matrix: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- since-536-with-devel | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
perl-versions: ${{ fromJson (needs.since-536-with-devel.outputs.perl-versions) }} | ||
steps: | ||
- run: echo "Hello" | ||
|
||
perl-tester: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- since-536-with-devel | ||
name: "Perl ${{ matrix.perl-version }}" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
perl-version: ${{ fromJson (needs.since-536-with-devel.outputs.perl-versions) }} | ||
container: | ||
image: perldocker/perl-tester:${{ matrix.perl-version }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: perl -V | ||
|
||
check: | ||
needs: | ||
- since-v520 | ||
- since-520 | ||
- since-536-with-devel | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: "Testing since-v520" | ||
run: | | ||
[[ '${{ needs.since-v520.outputs.perl-versions }}' == '["5.20","5.22","5.24","5.26","5.28","5.30","5.32","5.34","5.36","5.38"]' ]] && echo "ok" | ||
- name: "Testing since-520" | ||
run: | | ||
[[ '${{ needs.since-520.outputs.perl-versions }}' == '["5.20","5.22","5.24","5.26","5.28","5.30","5.32","5.34","5.36","5.38"]' ]] && echo "ok" | ||
- name: "Testing since-536-with-devel" | ||
run: | | ||
[[ '${{ needs.since-536-with-devel.outputs.perl-versions }}' == '["5.36","5.38","devel"]' ]] && echo "ok" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.