|
10 | 10 | workflow_dispatch: |
11 | 11 |
|
12 | 12 | jobs: |
13 | | - code-formatting: |
14 | | - runs-on: ubuntu-22.04 |
15 | | - name: Code Formatting |
16 | | - steps: |
17 | | - - uses: actions/checkout@v4 |
18 | | - with: |
19 | | - fetch-depth: 0 |
20 | | - - name: Fetch base ref |
21 | | - if: ${{ github.event.pull_request }} |
22 | | - run: git fetch origin ${{ github.base_ref }}:upstream |
23 | | - - run: npm install |
24 | | - - name: Install Carton |
25 | | - uses: perl-actions/install-with-cpm@v1 |
26 | | - with: |
27 | | - install: Carton |
28 | | - - name: Install CPAN deps |
29 | | - uses: perl-actions/install-with-cpm@v1 |
30 | | - with: |
31 | | - cpanfile: 'cpanfile' |
32 | | - args: > |
33 | | - --resolver=snapshot |
34 | | - --without-runtime |
35 | | - --without-test |
36 | | - --without-build |
37 | | - --with-develop |
38 | | - - name: Install precious |
39 | | - run: ./bin/install-precious /usr/local/bin |
40 | | - - name: Lint modified files |
41 | | - if: ${{ github.event.pull_request }} |
42 | | - run: precious lint --git-diff-from upstream |
43 | | - - name: Lint all files |
44 | | - if: ${{ ! github.event.pull_request }} |
45 | | - run: precious lint --all |
46 | | - docker: |
47 | | - runs-on: ubuntu-22.04 |
48 | | - name: Docker |
49 | | - steps: |
50 | | - - name: Build test image |
51 | | - id: docker-build-test |
52 | | - uses: docker/build-push-action@v5 |
53 | | - with: |
54 | | - target: test |
55 | | - push: false |
56 | | - load: true |
57 | | - - name: Run Perl tests |
58 | | - run: docker run -i ${{ steps.docker-build-test.outputs.imageid }} |
| 13 | +# code-formatting: |
| 14 | +# runs-on: ubuntu-22.04 |
| 15 | +# name: Code Formatting |
| 16 | +# steps: |
| 17 | +# - uses: actions/checkout@v4 |
| 18 | +# with: |
| 19 | +# fetch-depth: 0 |
| 20 | +# - name: Fetch base ref |
| 21 | +# if: ${{ github.event.pull_request }} |
| 22 | +# run: git fetch origin ${{ github.base_ref }}:upstream |
| 23 | +# - run: npm install |
| 24 | +# - name: Install Carton |
| 25 | +# uses: perl-actions/install-with-cpm@v1 |
| 26 | +# with: |
| 27 | +# install: Carton |
| 28 | +# - name: Install CPAN deps |
| 29 | +# uses: perl-actions/install-with-cpm@v1 |
| 30 | +# with: |
| 31 | +# cpanfile: 'cpanfile' |
| 32 | +# args: > |
| 33 | +# --resolver=snapshot |
| 34 | +# --without-runtime |
| 35 | +# --without-test |
| 36 | +# --without-build |
| 37 | +# --with-develop |
| 38 | +# - name: Install precious |
| 39 | +# run: ./bin/install-precious /usr/local/bin |
| 40 | +# - name: Lint modified files |
| 41 | +# if: ${{ github.event.pull_request }} |
| 42 | +# run: precious lint --git-diff-from upstream |
| 43 | +# - name: Lint all files |
| 44 | +# if: ${{ ! github.event.pull_request }} |
| 45 | +# run: precious lint --all |
| 46 | +# docker: |
| 47 | +# runs-on: ubuntu-22.04 |
| 48 | +# name: Docker |
| 49 | +# steps: |
| 50 | +# - name: Build test image |
| 51 | +# id: docker-build-test |
| 52 | +# uses: docker/build-push-action@v5 |
| 53 | +# with: |
| 54 | +# target: test |
| 55 | +# push: false |
| 56 | +# load: true |
| 57 | +# - name: Run Perl tests |
| 58 | +# run: docker run -i ${{ steps.docker-build-test.outputs.imageid }} |
59 | 59 | test: |
60 | 60 | runs-on: ubuntu-20.04 |
61 | 61 | name: Dockerless |
|
66 | 66 | - '5.36' |
67 | 67 | resolver: |
68 | 68 | - snapshot |
69 | | - - metacpan |
| 69 | +# - metacpan |
70 | 70 | container: |
71 | 71 | image: perl:${{ matrix.perl-version }} |
72 | 72 | env: |
|
0 commit comments