diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2026-07-31 12:57:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-31 12:57:16 +0200 |
| commit | 1b304c2a9c3d90d1bc2587528f687975a1fde7d2 (patch) | |
| tree | 5520fbe3d138844346a04f32174c0de8b7cf3d8a /.github | |
| parent | d8a81199fb888d1d243f522deb42ecd46c7ac5d1 (diff) | |
| download | luasystem-1b304c2a9c3d90d1bc2587528f687975a1fde7d2.tar.gz luasystem-1b304c2a9c3d90d1bc2587528f687975a1fde7d2.tar.bz2 luasystem-1b304c2a9c3d90d1bc2587528f687975a1fde7d2.zip | |
Add Dependabot for GitHub Actions and pin workflow actions (#89)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/dependabot.yml | 15 | ||||
| -rw-r--r-- | .github/workflows/build.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/deploy.yml | 6 |
3 files changed, 22 insertions, 7 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..bfccd65 --- /dev/null +++ b/.github/dependabot.yml | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Keep GitHub Actions up to date with GitHub's Dependabot... | ||
| 2 | # https://docs.github.com/en/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/auto-update-actions | ||
| 3 | # https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference#package-ecosystem | ||
| 4 | version: 2 | ||
| 5 | updates: | ||
| 6 | - package-ecosystem: github-actions | ||
| 7 | directory: / | ||
| 8 | groups: | ||
| 9 | github-actions: | ||
| 10 | patterns: | ||
| 11 | - "*" # Group all Actions updates into a single larger pull request | ||
| 12 | schedule: | ||
| 13 | interval: weekly | ||
| 14 | cooldown: # https://nesbitt.io/2026/03/04/package-managers-need-to-cool-down.html | ||
| 15 | default-days: 7 | ||
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e4d7c1..fe20732 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -66,7 +66,7 @@ jobs: | |||
| 66 | # the 'hishamhm/gh-actions-lua' step requires msvc to build PuC Rio Lua | 66 | # the 'hishamhm/gh-actions-lua' step requires msvc to build PuC Rio Lua |
| 67 | # versions on Windows (LuaJIT will be build using MinGW/gcc). | 67 | # versions on Windows (LuaJIT will be build using MinGW/gcc). |
| 68 | if: ${{ matrix.toolchain == 'msvc' }} | 68 | if: ${{ matrix.toolchain == 'msvc' }} |
| 69 | uses: ilammy/msvc-dev-cmd@v1 | 69 | uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 |
| 70 | 70 | ||
| 71 | # - name: install Dependencies analyzer | 71 | # - name: install Dependencies analyzer |
| 72 | # # action step used for troubleshooting if Windows dll's build | 72 | # # action step used for troubleshooting if Windows dll's build |
| @@ -124,7 +124,7 @@ jobs: | |||
| 124 | uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | 124 | uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
| 125 | 125 | ||
| 126 | - name: Run tests inside FreeBSD VM | 126 | - name: Run tests inside FreeBSD VM |
| 127 | uses: vmactions/freebsd-vm@v1 | 127 | uses: vmactions/freebsd-vm@77ed28d336d03fe19a3f4f7266c1d2c4714dd79d # v1 |
| 128 | with: | 128 | with: |
| 129 | usesh: true | 129 | usesh: true |
| 130 | prepare: | | 130 | prepare: | |
| @@ -143,7 +143,7 @@ jobs: | |||
| 143 | uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | 143 | uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
| 144 | 144 | ||
| 145 | - name: Run tests inside OpenBSD VM | 145 | - name: Run tests inside OpenBSD VM |
| 146 | uses: vmactions/openbsd-vm@v1 | 146 | uses: vmactions/openbsd-vm@c941015845c0f0c429676840963dc63b226d4f69 # v1 |
| 147 | with: | 147 | with: |
| 148 | usesh: true | 148 | usesh: true |
| 149 | prepare: | | 149 | prepare: | |
| @@ -162,7 +162,7 @@ jobs: | |||
| 162 | uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | 162 | uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 |
| 163 | 163 | ||
| 164 | - name: Run tests inside NetBSD VM | 164 | - name: Run tests inside NetBSD VM |
| 165 | uses: vmactions/netbsd-vm@v1 | 165 | uses: vmactions/netbsd-vm@e7ac71b97abbe8437cec8859a5acf72dfa6a8be0 # v1 |
| 166 | with: | 166 | with: |
| 167 | usesh: true | 167 | usesh: true |
| 168 | prepare: | | 168 | prepare: | |
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 19192f5..4adcceb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml | |||
| @@ -7,12 +7,12 @@ jobs: | |||
| 7 | 7 | ||
| 8 | affected: | 8 | affected: |
| 9 | uses: | 9 | uses: |
| 10 | lunarmodules/.github/.github/workflows/list_affected_rockspecs.yml@main | 10 | lunarmodules/.github/.github/workflows/list_affected_rockspecs.yml@d3b39c89365b06e9590297cfaa0b3c9e52c04b6d # main |
| 11 | 11 | ||
| 12 | build: | 12 | build: |
| 13 | needs: affected | 13 | needs: affected |
| 14 | if: ${{ needs.affected.outputs.rockspecs }} | 14 | if: ${{ needs.affected.outputs.rockspecs }} |
| 15 | uses: lunarmodules/.github/.github/workflows/test_build_rock.yml@main | 15 | uses: lunarmodules/.github/.github/workflows/test_build_rock.yml@5e21af2b298be5ad6677a4737114db239510d3ce # main |
| 16 | with: | 16 | with: |
| 17 | rockspecs: ${{ needs.affected.outputs.rockspecs }} | 17 | rockspecs: ${{ needs.affected.outputs.rockspecs }} |
| 18 | 18 | ||
| @@ -32,7 +32,7 @@ jobs: | |||
| 32 | startsWith(github.ref, 'refs/tags/') ) && | 32 | startsWith(github.ref, 'refs/tags/') ) && |
| 33 | needs.affected.outputs.rockspecs | 33 | needs.affected.outputs.rockspecs |
| 34 | }} | 34 | }} |
| 35 | uses: lunarmodules/.github/.github/workflows/upload_to_luarocks.yml@main | 35 | uses: lunarmodules/.github/.github/workflows/upload_to_luarocks.yml@5e21af2b298be5ad6677a4737114db239510d3ce # main |
| 36 | with: | 36 | with: |
| 37 | rockspecs: ${{ needs.affected.outputs.rockspecs }} | 37 | rockspecs: ${{ needs.affected.outputs.rockspecs }} |
| 38 | secrets: | 38 | secrets: |
