Skip to content

Conversation

@hazeycode
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings July 20, 2025 21:15
Copy link

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

This PR upgrades the setup-zig GitHub Action from v1 to v2 and simplifies the Zig version management by removing the .zigversion file and associated workflow steps.

  • Upgrades mlugg/setup-zig action from v1 to v2
  • Removes .zigversion file containing version "0.14.0"
  • Eliminates the workflow steps that read the version file and pass it to setup-zig

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.zigversion Removes the version file that previously specified Zig 0.14.0
.github/workflows/main.yml Updates setup-zig to v2 and removes version file reading logic

Comment on lines 23 to +24
- name: Install Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ steps.zigversion.outputs.content }}
uses: mlugg/setup-zig@v2
Copy link

Copilot AI Jul 20, 2025

Choose a reason for hiding this comment

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

The setup-zig action no longer specifies a Zig version. Consider documenting which version will be used by default in v2, or add a comment explaining the version selection strategy.

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

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

setup-zig uses the minimum_zig_version specified in build.zig.zon by default

@hazeycode hazeycode merged commit 5310f5f into main Jul 21, 2025
3 checks passed
@hazeycode hazeycode deleted the upgrade-setup-zig branch July 21, 2025 20:36
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.

2 participants