Skip to content

Commit

Permalink
Merge pull request #16 from cspr-rad/check-signed-commits
Browse files Browse the repository at this point in the history
ci: check for signed commits
  • Loading branch information
marijanp authored Feb 7, 2024
2 parents c6ec3ac + 26db3a1 commit 94b6346
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,21 @@ jobs:
uname -a
nix --version
- name: check
run: nix flake check -L --show-trace
- name: format
if: matrix.os == 'ubuntu-latest'
run: nix build -L --no-link --show-trace .#checks.x86_64-linux.treefmt

- name: audit
if: matrix.os == 'ubuntu-latest'
run: nix build -L --no-link --show-trace .#checks.x86_64-linux.audit

- name: lint
if: matrix.os == 'ubuntu-latest'
run: nix build -L --no-link --show-trace .#checks.x86_64-linux.lint

- name: coverage
if: matrix.os == 'ubuntu-latest'
run: nix build -L --no-link --show-trace .#checks.x86_64-linux.coverage-report

- name: kairos x86_64-linux
if: matrix.os == 'ubuntu-latest'
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/pre-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: pre-check
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
check-signed-commits:
runs-on: ubuntu-latest
steps:
- name: check signed commits
uses: 1Password/check-signed-commits-action@v1

0 comments on commit 94b6346

Please sign in to comment.