Skip to content

chore(ci): fix ci bump outdated dependencies#155

Open
Tieske wants to merge 1 commit intoEvandroLG:masterfrom
Tieske:fix/ci
Open

chore(ci): fix ci bump outdated dependencies#155
Tieske wants to merge 1 commit intoEvandroLG:masterfrom
Tieske:fix/ci

Conversation

@Tieske
Copy link
Contributor

@Tieske Tieske commented Mar 4, 2026

The tests pass on Lua 5.5. The only problem is that luacheck gets installed, which depends on argparse, which is not Lua 5.5 ready (see luarocks/argparse#35)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates GitHub Actions CI to support Lua 5.5 and modernize the workflow dependencies to address compatibility issues with older tooling.

Changes:

  • Bump runners from ubuntu-20.04 to ubuntu-22.04.
  • Expand test matrix to include Lua 5.5.
  • Switch Lua/LuaRocks setup actions and pin LuaRocks version.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/unix_build.yml Updates runner, adds Lua 5.5 to the matrix, and changes Lua/LuaRocks setup actions + LuaRocks version pinning.
.github/workflows/lint.yml Updates runner and changes Lua/LuaRocks setup actions + LuaRocks version pinning.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

uses: actions/checkout@v4

- uses: leafo/gh-actions-lua@v8
- uses: luarocks/gh-actions-lua@master
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using GitHub Actions with @master is a supply-chain/stability risk because the workflow can change unexpectedly when the upstream repo updates. Pin these actions to a specific version tag (if available) or a commit SHA to make CI reproducible and reduce the risk of malicious or breaking changes being pulled into your pipeline.

Copilot uses AI. Check for mistakes.
luaVersion: ${{ matrix.luaVersion }}

- uses: leafo/gh-actions-luarocks@v4
- uses: luarocks/gh-actions-luarocks@master
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using GitHub Actions with @master is a supply-chain/stability risk because the workflow can change unexpectedly when the upstream repo updates. Pin these actions to a specific version tag (if available) or a commit SHA to make CI reproducible and reduce the risk of malicious or breaking changes being pulled into your pipeline.

Copilot uses AI. Check for mistakes.
uses: actions/checkout@v4

- uses: leafo/gh-actions-lua@v8
- uses: luarocks/gh-actions-lua@master
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same concern here: pin luarocks/gh-actions-lua and luarocks/gh-actions-luarocks to a stable tag or commit SHA rather than @master, to prevent CI from breaking due to upstream changes and to keep builds deterministic.

Copilot uses AI. Check for mistakes.
luaVersion: "5.4"

- uses: leafo/gh-actions-luarocks@v4
- uses: luarocks/gh-actions-luarocks@master
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same concern here: pin luarocks/gh-actions-lua and luarocks/gh-actions-luarocks to a stable tag or commit SHA rather than @master, to prevent CI from breaking due to upstream changes and to keep builds deterministic.

Copilot uses AI. Check for mistakes.
luaVersion: ${{ matrix.luaVersion }}

- uses: leafo/gh-actions-luarocks@v4
- uses: luarocks/gh-actions-luarocks@master
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with Copilot here. Let's use v6 - WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants