Skip to content

feat(github): added workflows for ci and crates.io publish#28

Open
lriesebos wants to merge 1 commit intomasterfrom
feat/github_workflows
Open

feat(github): added workflows for ci and crates.io publish#28
lriesebos wants to merge 1 commit intomasterfrom
feat/github_workflows

Conversation

@lriesebos
Copy link
Copy Markdown
Collaborator

@lriesebos lriesebos commented Apr 12, 2026

I am not an expert on github workflows or publishing to crates.io, so this might need some testing and a few iterations to get both workflows to run.

closes #26

@lriesebos lriesebos self-assigned this Apr 12, 2026

- name: Cargo publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

lgtm; this line won't be necessary I'll add a openid connect entry for it


jobs:
publish:
runs-on: ubuntu-24.04
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

- name: Checkout repository
uses: actions/checkout@v6
- name: Install Nix
uses: cachix/install-nix-action@v31
Copy link
Copy Markdown
Owner

@gz gz Apr 13, 2026

Choose a reason for hiding this comment

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

We should probably use @hash here instead of a version tag because they are not immutable in github and there have been so many supply chain attacks recently

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.

we might want to setup an action to publish to crates.io so we can set it up with trusted publishing

2 participants