diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 28347b1..503af20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,14 +13,30 @@ jobs: name: Perform tests runs-on: ubuntu-latest container: fedora:latest + defaults: + run: + working-directory: ./clevis-pin-tpm2 steps: - uses: actions/checkout@v2 + with: + path: clevis-pin-tpm2 + - name: Check out the policy signtool + uses: actions/checkout@v2 + with: + path: clevis-pin-tpm2-signtool + repository: puiterwijk/clevis-pin-tpm2-signtool - name: Install dependencies run: | dnf install -y \ - tpm2-tss-devel \ + tpm2-tss-devel clevis \ swtpm swtpm-tools \ - rust cargo clippy + rust cargo clippy \ + golang + - name: Remove clevis-pin-tpm2 + run: | + dnf erase -y clevis-pin-tpm2 + - name: Build + run: cargo build - name: Start swtpm run: | mkdir /tmp/tpmdir