Skip to content

Commit dce766b

Browse files
authored
Merge pull request #12 from perl-actions/oalders/fix-ci
Fix CI failures
2 parents 2cbd9a8 + d195ed4 commit dce766b

File tree

2 files changed

+30
-34
lines changed

2 files changed

+30
-34
lines changed

.github/workflows/check.yml

+29-33
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1+
---
12
name: check
23

34
on: [push]
45

56
jobs:
67
cpanm:
78
runs-on: ubuntu-latest
8-
name: "install cpanm"
9+
name: 'install cpanm'
910
steps:
10-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1112
- name: uses install-with-cpanm
1213
uses: ./
1314
- name: which cpanm
@@ -19,13 +20,13 @@ jobs:
1920

2021
one_module:
2122
runs-on: ubuntu-latest
22-
name: "cpanm and a module"
23+
name: 'cpanm and a module'
2324
steps:
24-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2526
- name: uses install-with-cpanm
2627
uses: ./
2728
with:
28-
install: "Simple::Accessor"
29+
install: 'Simple::Accessor'
2930
- run: perl -MSimple::Accessor -e1
3031

3132
### ------------------------------------------------
@@ -34,9 +35,9 @@ jobs:
3435

3536
multiple_modules:
3637
runs-on: ubuntu-latest
37-
name: "cpanm & modules"
38+
name: 'cpanm & modules'
3839
steps:
39-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v3
4041
- name: uses install-with-cpanm
4142
uses: ./
4243
with:
@@ -52,33 +53,33 @@ jobs:
5253

5354
cpanfile_root:
5455
runs-on: ubuntu-latest
55-
name: "cpanfile as root"
56+
name: 'cpanfile as root'
5657
steps:
57-
- uses: actions/checkout@v2
58-
- name: "Create a cpanfile"
58+
- uses: actions/checkout@v3
59+
- name: 'Create a cpanfile'
5960
run: |
6061
echo "requires 'Simple::Accessor';" > cpanfile.test
6162
- name: uses install-with-cpanm
6263
uses: ./
6364
with:
64-
cpanfile: "cpanfile.test"
65+
cpanfile: 'cpanfile.test'
6566
- run: perl -MSimple::Accessor -e1
6667

6768
cpanfile_nonroot:
6869
runs-on: ubuntu-latest
69-
name: "cpanfile nonroot local::lib"
70+
name: 'cpanfile nonroot local::lib'
7071
steps:
71-
- uses: actions/checkout@v2
72-
- name: "Create a cpanfile"
72+
- uses: actions/checkout@v3
73+
- name: 'Create a cpanfile'
7374
run: |
7475
echo "requires 'Simple::Accessor';" > cpanfile.test
7576
- name: uses install-with-cpanm
7677
uses: ./
7778
with:
78-
path: "cpanm-local"
79-
cpanfile: "cpanfile.test"
79+
path: 'cpanm-local'
80+
cpanfile: 'cpanfile.test'
8081
sudo: false
81-
args: "-L vendor"
82+
args: '-L vendor'
8283
- run: sudo perl cpanm-local local::lib
8384
- run: perl -Mlocal::lib=--no-create,vendor -MSimple::Accessor -e1
8485

@@ -88,15 +89,15 @@ jobs:
8889

8990
with_tests:
9091
runs-on: ubuntu-latest
91-
name: "install with tests"
92+
name: 'install with tests'
9293
steps:
93-
- uses: actions/checkout@v2
94+
- uses: actions/checkout@v3
9495
- name: uses install-with-cpanm
9596
uses: ./
9697
with:
97-
install: "Simple::Accessor"
98+
install: 'Simple::Accessor'
9899
tests: true
99-
args: "-v"
100+
args: '-v'
100101
- run: perl -MSimple::Accessor -e1
101102

102103
### ------------------------------------------------
@@ -105,21 +106,21 @@ jobs:
105106

106107
perl_tester:
107108
runs-on: ubuntu-latest
108-
name: "perl v${{ matrix.perl-version }}"
109+
name: 'perl v${{ matrix.perl-version }}'
109110

110111
strategy:
111112
fail-fast: false
112113
matrix:
113114
perl-version:
114-
- "5.30"
115-
- "5.28"
115+
- '5.30'
116+
- '5.28'
116117
# ...
117118

118119
container:
119120
image: perldocker/perl-tester:${{ matrix.perl-version }}
120121

121122
steps:
122-
- uses: actions/checkout@v2
123+
- uses: actions/checkout@v3
123124
- name: uses install-with-cpanm
124125
uses: ./
125126
with:
@@ -136,19 +137,14 @@ jobs:
136137
## ------------------------------------------------
137138
windows:
138139
runs-on: windows-latest
139-
name: "windows"
140+
name: 'windows'
140141

141142
steps:
142-
- name: Set up Perl
143-
run: |
144-
choco install strawberryperl
145-
echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
146-
147143
- name: perl -V
148144
run: perl -V
149145

150-
- uses: actions/checkout@v2
151-
- name: "install-with-cpanm"
146+
- uses: actions/checkout@v3
147+
- name: 'install-with-cpanm'
152148

153149
uses: ./
154150
with:

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ inputs:
4343
default: "$Config{installsitescript}/cpanm"
4444

4545
runs:
46-
using: "node12"
46+
using: "node16"
4747
main: "index.js"

0 commit comments

Comments
 (0)