Skip to content

Commit

Permalink
fix: attempt to fix codeql by installing deps (#106)
Browse files Browse the repository at this point in the history
Codeql ci is currently failing. This might be because the workflow
is missing the c library needed to build luks2crypt. This installs
the dev libs for cryptsetup before running codeql. It also sets up
the go version in `go.mod` to ensure the toolchain is available.
  • Loading branch information
derektamsen committed May 12, 2024
1 parent 7d2f5d3 commit 905bf8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt update && sudo apt install -y libcryptsetup-dev
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down

0 comments on commit 905bf8c

Please sign in to comment.