Skip to content

Commit

Permalink
CI/CD: fix failing codeql analyze workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ivard committed Dec 14, 2023
1 parent 6478eba commit c7cfa02
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 45 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

24 changes: 23 additions & 1 deletion .github/workflows/status-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,26 @@ jobs:
analyze:
# Require successful test to make sure analysis does not fail on syntax errors.
needs: test
uses: ./.github/workflows/codeql-analysis.yml
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
queries: +security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
14 changes: 0 additions & 14 deletions .github/workflows/weekly-checks.yml

This file was deleted.

0 comments on commit c7cfa02

Please sign in to comment.