|
1 |
| -name: CI |
2 |
| - |
3 |
| -on: |
4 |
| - push: |
5 |
| - branches: [ master ] |
6 |
| - pull_request: |
7 |
| - branches: [ master ] |
8 |
| - |
| 1 | +# Code generated by dhall-to-yaml. DO NOT EDIT. |
9 | 2 | jobs:
|
| 3 | + checkDocs: |
| 4 | + name: "Rendered 'docs/' is up to date" |
| 5 | + runs-on: ubuntu-latest |
| 6 | + steps: |
| 7 | + - name: checkout |
| 8 | + uses: "actions/checkout@master" |
| 9 | + with: |
| 10 | + submodules: recursive |
| 11 | + - name: Install asdf |
| 12 | + uses: "asdf-vm/actions/[email protected]" |
| 13 | + - name: Install asdf plugins |
| 14 | + uses: scripts/ci/asdf-add-plugins.sh |
| 15 | + - name: Install asdf tools versions |
| 16 | + uses: scripts/ci/asdf-install.sh |
| 17 | + - name: "Check that 'docs' folder is up to date" |
| 18 | + run: scripts/ci/check-rendered-site-up-to-date.sh |
| 19 | + checkPipeline: |
| 20 | + name: Rendered CI pipeline is up to date |
| 21 | + runs-on: ubuntu-latest |
| 22 | + steps: |
| 23 | + - name: checkout |
| 24 | + uses: "actions/checkout@master" |
| 25 | + with: |
| 26 | + submodules: recursive |
| 27 | + - name: Install asdf |
| 28 | + uses: "asdf-vm/actions/[email protected]" |
| 29 | + - name: Install asdf plugins |
| 30 | + uses: scripts/ci/asdf-add-plugins.sh |
| 31 | + - name: Install asdf tools versions |
| 32 | + uses: scripts/ci/asdf-install.sh |
| 33 | + - name: Check that the CI pipeline definition is up-to-date with the dhall configuration |
| 34 | + run: scripts/ci/check-rendered-site-up-to-date.sh |
| 35 | + dhallFormat: |
| 36 | + name: dhall-format |
| 37 | + runs-on: ubuntu-latest |
| 38 | + steps: |
| 39 | + - name: checkout |
| 40 | + uses: "actions/checkout@master" |
| 41 | + with: |
| 42 | + submodules: recursive |
| 43 | + - name: Install asdf |
| 44 | + uses: "asdf-vm/actions/[email protected]" |
| 45 | + - name: Install asdf plugins |
| 46 | + uses: scripts/ci/asdf-add-plugins.sh |
| 47 | + - name: Install asdf tools versions |
| 48 | + uses: scripts/ci/asdf-install.sh |
| 49 | + - env: |
| 50 | + CHECK: 'true' |
| 51 | + name: Check that dhall files are formatted |
| 52 | + run: scripts/dhall-format.sh |
| 53 | + dhallLint: |
| 54 | + name: dhall-format |
| 55 | + runs-on: ubuntu-latest |
| 56 | + steps: |
| 57 | + - name: checkout |
| 58 | + uses: "actions/checkout@master" |
| 59 | + with: |
| 60 | + submodules: recursive |
| 61 | + - name: Install asdf |
| 62 | + uses: "asdf-vm/actions/[email protected]" |
| 63 | + - name: Install asdf plugins |
| 64 | + uses: scripts/ci/asdf-add-plugins.sh |
| 65 | + - name: Install asdf tools versions |
| 66 | + uses: scripts/ci/asdf-install.sh |
| 67 | + - env: |
| 68 | + CHECK: 'true' |
| 69 | + name: Check that dhall files are linted properly |
| 70 | + run: scripts/dhall-format.sh |
10 | 71 | prettier:
|
11 | 72 | name: Prettier formatting
|
12 | 73 | runs-on: ubuntu-latest
|
13 | 74 | steps:
|
14 |
| - - uses: actions/checkout@master |
15 |
| - with: |
16 |
| - submodules: recursive |
17 |
| - |
18 |
| - - name: Install asdf |
19 |
| - uses: asdf-vm/actions/[email protected] |
20 |
| - |
21 |
| - - name: Install asdf plugins |
22 |
| - run: 'scripts/asdf-add-plugins.sh' |
23 |
| - |
24 |
| - - name: Install asdf tools versions |
25 |
| - run: 'scripts/asdf-install.sh' |
26 |
| - |
27 |
| - - name: Check Prettier formatting |
28 |
| - run: 'scripts/check-prettier.sh' |
29 |
| - |
30 |
| - check-rendered-up-to-date: |
31 |
| - name: Rendered 'docs/' up to date |
| 75 | + - name: checkout |
| 76 | + uses: "actions/checkout@master" |
| 77 | + with: |
| 78 | + submodules: recursive |
| 79 | + - name: Install asdf |
| 80 | + uses: "asdf-vm/actions/[email protected]" |
| 81 | + - name: Install asdf plugins |
| 82 | + uses: scripts/ci/asdf-add-plugins.sh |
| 83 | + - name: Install asdf tools versions |
| 84 | + uses: scripts/ci/asdf-install.sh |
| 85 | + - name: Check Prettier formatting |
| 86 | + run: scripts/ci/check-prettier.sh |
| 87 | + shellcheck: |
| 88 | + name: shellcheck |
| 89 | + runs-on: ubuntu-latest |
| 90 | + steps: |
| 91 | + - name: checkout |
| 92 | + uses: "actions/checkout@master" |
| 93 | + with: |
| 94 | + submodules: recursive |
| 95 | + - name: Install asdf |
| 96 | + uses: "asdf-vm/actions/[email protected]" |
| 97 | + - name: Install asdf plugins |
| 98 | + uses: scripts/ci/asdf-add-plugins.sh |
| 99 | + - name: Install asdf tools versions |
| 100 | + uses: scripts/ci/asdf-install.sh |
| 101 | + - name: Lint shell scripts |
| 102 | + run: scripts/ci/shellcheck.sh |
| 103 | + shfmt: |
| 104 | + name: shfmt |
32 | 105 | runs-on: ubuntu-latest
|
33 | 106 | steps:
|
34 |
| - - uses: actions/checkout@master |
35 |
| - with: |
36 |
| - submodules: recursive |
37 |
| - |
38 |
| - - name: Install asdf |
39 |
| - uses: asdf-vm/actions/[email protected] |
40 |
| - |
41 |
| - - name: Install asdf plugins |
42 |
| - run: 'scripts/asdf-add-plugins.sh' |
43 |
| - |
44 |
| - - name: Install asdf tools versions |
45 |
| - run: 'scripts/asdf-install.sh' |
46 |
| - |
47 |
| - - name: Check that 'docs' folder is up to date |
48 |
| - run: 'scripts/check-rendered-site-up-to-date.sh' |
| 107 | + - name: checkout |
| 108 | + uses: "actions/checkout@master" |
| 109 | + with: |
| 110 | + submodules: recursive |
| 111 | + - name: Install asdf |
| 112 | + uses: "asdf-vm/actions/[email protected]" |
| 113 | + - name: Install asdf plugins |
| 114 | + uses: scripts/ci/asdf-add-plugins.sh |
| 115 | + - name: Install asdf tools versions |
| 116 | + uses: scripts/ci/asdf-install.sh |
| 117 | + - name: Check that scripts are formatted consistently |
| 118 | + run: scripts/ci/shfmt.sh |
| 119 | +name: CI |
| 120 | +on: |
| 121 | + pull_request: |
| 122 | + branches: |
| 123 | + - master |
| 124 | + push: |
| 125 | + branches: |
| 126 | + - master |
0 commit comments