From 80c7260a2823499d27acb3919cdc63cdfa8b2b34 Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Mon, 21 Nov 2022 22:39:02 -0400 Subject: [PATCH 1/2] check new action --- .github/workflows/linux.yml | 51 ++++++++++--------------------------- 1 file changed, 13 insertions(+), 38 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5747e6f..2105ad9 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,42 +1,17 @@ -name: linux - -on: - - push - jobs: - perl: - runs-on: ubuntu-latest + build: + runs-on: ${{ matrix.os }} strategy: matrix: - perl-version: - - '5.8' - - '5.10' - - '5.12' - - '5.14' - - '5.16' - - '5.18' - - '5.20' - - '5.22' - - '5.24' - - '5.26' - - '5.28' - - '5.30' - - '5.32' - container: - image: perl:${{ matrix.perl-version }} + os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] + perl: [ '5.8', '5.10', '5.12', '5.14', '5.16', '5.18', '5.20', '5.22', '5.24', '5.26', '5.28', '5.34', '5.32', '5.30' ] + name: Perl ${{ matrix.perl }} on ${{ matrix.os }} steps: - - uses: actions/checkout@v1 - - name: Install OS Packages - run: | - apt-get update; - apt-get -y install xmlsec1; - - name: Install Dependencies - run: | - cpanm -nq --installdeps . ; - - name: Build Module - run: | - perl Makefile.PL; - make - - name: Run Tests - run: | - prove -lr -l -b -I inc t + - uses: actions/checkout@v3 + - name: Set up perl + uses: shogo82148/actions-setup-perl@v1 + with: + perl-version: ${{ matrix.perl }} + - run: perl -V + - run: cpanm --installdeps . + - run: prove -lv t From b2be0abcf8545a2aa8d95fe01ed6666cf07977cc Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Mon, 21 Nov 2022 22:41:20 -0400 Subject: [PATCH 2/2] check new action --- .github/workflows/linux.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2105ad9..508da84 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,3 +1,6 @@ +name: Perl Matrix Testing +on: + - push jobs: build: runs-on: ${{ matrix.os }}