mirror of
https://github.com/DeterminateSystems/determinate-nix-action.git
synced 2026-02-24 22:57:12 +00:00
Initial commit
This commit is contained in:
parent
681714470d
commit
fbd616d075
15 changed files with 800 additions and 0 deletions
29
.github/workflows/ci.yml
vendored
Normal file
29
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
lints:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: "write"
|
||||
contents: "read"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.
|
||||
- run: nix develop -c typos
|
||||
if: success() || failure()
|
||||
- run: nix develop -c ruff check
|
||||
if: success() || failure()
|
||||
- run: nix develop -c ruff format --diff
|
||||
if: success() || failure()
|
||||
- run: nix develop -c shellcheck ./tools/*.sh
|
||||
if: success() || failure()
|
||||
- name: Regenerate the README to make sure it is unchanged
|
||||
run: nix develop -c ./tools/generate.sh
|
||||
if: success() || failure()
|
||||
- name: Assert no changes were made
|
||||
run: git diff --exit-code
|
||||
if: success() || failure()
|
||||
Loading…
Add table
Add a link
Reference in a new issue