]> Dogcows Code - chaz/p5-File-KDBX/blob - .github/workflows/windows.yml
Only run GitHub actions on the master branch
[chaz/p5-File-KDBX] / .github / workflows / windows.yml
1 name: Windows
2
3 on:
4 push:
5 branches: ["master"]
6
7 jobs:
8 unit-tests:
9 name: "Test perl on Windows"
10
11 runs-on: windows-latest
12
13 steps:
14 - name: Install perl
15 run: |
16 choco install strawberryperl
17 echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >>$GITHUB_PATH
18 - name: Print perl version
19 run: perl -V
20 - name: Install dzil
21 run: cpanm -n Dist::Zilla
22 - name: Configure git
23 run: git config --global core.autocrlf input
24 - name: Checkout code
25 uses: actions/checkout@v3
26 - name: Install author dependencies
27 run: dzil authordeps --missing |cpanm -n
28 - name: Install module dependencies
29 run: dzil listdeps --develop --missing |cpanm -n
30 - name: Run tests
31 run: dzil smoke --author --release
This page took 0.0347 seconds and 4 git commands to generate.