Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
env:
FORCE_COLOR: "1"

permissions:
contents: read

jobs:
lint:
name: Lint
Expand Down Expand Up @@ -56,3 +59,15 @@ jobs:

- name: Run tests
run: nox -s tests

validate_build:
name: Build artifacts
needs: [lint, tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: snapcore/action-build@v1
name: Build snap
- uses: "DeterminateSystems/nix-installer-action@main"
- run: nix build
name: Build Flake
8 changes: 6 additions & 2 deletions .github/workflows/publish-tagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
description: "The existing tag to publish"
type: "string"
required: true

permissions:
contents: read

jobs:
flakehub-publish:
runs-on: "ubuntu-latest"
permissions:
id-token: "write"
contents: "read"
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Publish
on:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Build wheel
Expand Down
Loading