diff options
| author | Copilot <198982749+Copilot@users.noreply.github.com> | 2026-07-30 22:26:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-30 22:26:15 +0200 |
| commit | 6bf1bf4588680843d4b0ad470907d3af52cd3f43 (patch) | |
| tree | b791ed69e45315f1bc5899382c79d8f4f8610385 /.github/workflows | |
| parent | e13de2013749961edaa126697f3290d3dca91823 (diff) | |
| download | luasocket-6bf1bf4588680843d4b0ad470907d3af52cd3f43.tar.gz luasocket-6bf1bf4588680843d4b0ad470907d3af52cd3f43.tar.bz2 luasocket-6bf1bf4588680843d4b0ad470907d3af52cd3f43.zip | |
chore: add Dependabot config and pin GitHub Actions to git SHAs (#464)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/deploy.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/luacheck.yml | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 229fcbf..0055171 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -17,18 +17,18 @@ jobs: | |||
| 17 | runs-on: ${{ matrix.platform }} | 17 | runs-on: ${{ matrix.platform }} |
| 18 | steps: | 18 | steps: |
| 19 | - name: Checkout | 19 | - name: Checkout |
| 20 | uses: actions/checkout@v4 | 20 | uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 |
| 21 | - name: Setup ’msvc’ | 21 | - name: Setup ’msvc’ |
| 22 | if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }} | 22 | if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }} |
| 23 | uses: ilammy/msvc-dev-cmd@v1 | 23 | uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1 |
| 24 | - name: Setup ‘lua’ | 24 | - name: Setup ‘lua’ |
| 25 | uses: luarocks/gh-actions-lua@v10 | 25 | uses: luarocks/gh-actions-lua@c1e8c4a5fa64ac5f6467ea35d8b59fb5a167232e # v10 |
| 26 | with: | 26 | with: |
| 27 | luaVersion: ${{ matrix.luaVersion }} | 27 | luaVersion: ${{ matrix.luaVersion }} |
| 28 | buildCache: false | 28 | buildCache: false |
| 29 | - name: Setup ‘luarocks’ | 29 | - name: Setup ‘luarocks’ |
| 30 | # master branch until tagged release has luajit & msvcrt fixes | 30 | # master branch until tagged release has luajit & msvcrt fixes |
| 31 | uses: luarocks/gh-actions-luarocks@master | 31 | uses: luarocks/gh-actions-luarocks@95d2308a0aff36ad31ebadca493ed14853399842 # master |
| 32 | - name: Make and install | 32 | - name: Make and install |
| 33 | run: | | 33 | run: | |
| 34 | luarocks make -- luasocket-scm-3.rockspec | 34 | luarocks make -- luasocket-scm-3.rockspec |
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index acd66ea..9f786ce 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml | |||
| @@ -5,12 +5,12 @@ on: [ push, workflow_dispatch ] | |||
| 5 | jobs: | 5 | jobs: |
| 6 | 6 | ||
| 7 | affected: | 7 | affected: |
| 8 | uses: lunarmodules/.github/.github/workflows/list_affected_rockspecs.yml@main | 8 | uses: lunarmodules/.github/.github/workflows/list_affected_rockspecs.yml@5e21af2b298be5ad6677a4737114db239510d3ce # main |
| 9 | 9 | ||
| 10 | build: | 10 | build: |
| 11 | needs: affected | 11 | needs: affected |
| 12 | if: ${{ needs.affected.outputs.rockspecs }} | 12 | if: ${{ needs.affected.outputs.rockspecs }} |
| 13 | uses: lunarmodules/.github/.github/workflows/test_build_rock.yml@main | 13 | uses: lunarmodules/.github/.github/workflows/test_build_rock.yml@5e21af2b298be5ad6677a4737114db239510d3ce # main |
| 14 | with: | 14 | with: |
| 15 | rockspecs: ${{ needs.affected.outputs.rockspecs }} | 15 | rockspecs: ${{ needs.affected.outputs.rockspecs }} |
| 16 | 16 | ||
| @@ -27,7 +27,7 @@ jobs: | |||
| 27 | ( github.ref_name == 'master' || startsWith(github.ref, 'refs/tags/') ) && | 27 | ( github.ref_name == 'master' || startsWith(github.ref, 'refs/tags/') ) && |
| 28 | needs.affected.outputs.rockspecs | 28 | needs.affected.outputs.rockspecs |
| 29 | }} | 29 | }} |
| 30 | uses: lunarmodules/.github/.github/workflows/upload_to_luarocks.yml@main | 30 | uses: lunarmodules/.github/.github/workflows/upload_to_luarocks.yml@5e21af2b298be5ad6677a4737114db239510d3ce # main |
| 31 | with: | 31 | with: |
| 32 | rockspecs: ${{ needs.affected.outputs.rockspecs }} | 32 | rockspecs: ${{ needs.affected.outputs.rockspecs }} |
| 33 | secrets: | 33 | secrets: |
diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index 9cb784c..0489df1 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml | |||
| @@ -8,6 +8,6 @@ jobs: | |||
| 8 | runs-on: ubuntu-22.04 | 8 | runs-on: ubuntu-22.04 |
| 9 | steps: | 9 | steps: |
| 10 | - name: Checkout | 10 | - name: Checkout |
| 11 | uses: actions/checkout@v4 | 11 | uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 |
| 12 | - name: Luacheck | 12 | - name: Luacheck |
| 13 | uses: lunarmodules/luacheck@v1 | 13 | uses: lunarmodules/luacheck@cc089e3f65acdd1ef8716cc73a3eca24a6b845e4 # v1 |
