Skip to content

Commit

Permalink
Added CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
blaubaer committed Aug 18, 2024
1 parent 0fead9a commit a72b3be
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,23 @@ jobs:
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest

- name: Install Syft
uses: anchore/sbom-action/[email protected]

- name: Test
run: |
mkdir -p var
go test -v -race -covermode atomic "-coverprofile=var/profile.cov" ./...
- name: GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: build --snapshot --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Send coverage
if: false
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- name: Install Ubuntu dependencies
run: sudo apt install libpam0g-dev

- name: Install Syft
uses: anchore/sbom-action/[email protected]

- name: Checkout code
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit a72b3be

Please sign in to comment.