Skip to content

CI: Replace Garnix with GHA#396

Open
9999years wants to merge 1 commit into
mainfrom
wiggles/lmsr
Open

CI: Replace Garnix with GHA#396
9999years wants to merge 1 commit into
mainfrom
wiggles/lmsr

Conversation

@9999years
Copy link
Copy Markdown
Member

Sorry Garnix!

@9999years 9999years requested a review from a team as a code owner March 12, 2026 22:18
@9999years 9999years requested review from dtpowl and parsonsmatt March 12, 2026 22:18
Comment thread .github/workflows/ci.yaml
name: CI

on:
pull_request:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should this also run on pushes to main?

Comment thread .github/workflows/ci.yaml Outdated
matrix:
platform:
- runner: ubuntu-latest
system: x86_64-linux
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This might be WIP, but it seems like the system is not used and could be condensed to:

platform:
  - runner: ubuntu-latest
  - runner: macos-latest

Comment thread garnix.yaml Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

.config/nextest.toml still references garnix, should that be updated too?

Comment thread .github/workflows/ci.yaml
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- uses: cachix/install-nix-action@7be5dee1421f63d07e71ce6e0a9f8a4b07c2a487 # v31.6.1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would a caching step after this one be beneficial?

Comment thread .github/workflows/ci.yaml
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
extra-experimental-features = nix-command flakes
accept-flake-config = true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
accept-flake-config = true

Isn't that setting a no-op since the nixConfig was removed from flake.nix?

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