Skip to content

Commit

Permalink
fixup! Add reusable workflow for basic checks
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Wilson <[email protected]>
  • Loading branch information
SWilson4 committed Aug 26, 2024
1 parent a10a5ed commit a0092fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ permissions:
contents: read

on:
push:
workflow_call:


Expand All @@ -12,7 +13,7 @@ jobs:
stylecheck:
name: Check code formatting
runs-on: ubuntu-latest
container: openquantumsafe/ci-ubuntu-x86_64:latest
container: openquantumsafe/ci-ubuntu-latest:latest
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@v4
Expand All @@ -26,7 +27,7 @@ jobs:
upstreamcheck:
name: Check upstream code is properly integrated
runs-on: ubuntu-latest
container: openquantumsafe/ci-ubuntu-x86_64:latest
container: openquantumsafe/ci-ubuntu-latest:latest
steps:
- name: Setup nix
uses: cachix/install-nix-action@v26
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
name: Check that code passes a basic build
needs: [ stylecheck, upstreamcheck ]
runs-on: ubuntu-latest
container: openquantumsafe/ci-ubuntu-focal-x86_64:latest
container: openquantumsafe/ci-ubuntu-latest:latest
env:
KEM_NAME: ml_kem_768
SIG_NAME: ml_dsa_65
Expand Down

0 comments on commit a0092fc

Please sign in to comment.