Skip to content

Commit

Permalink
Fix: codeql autobuild error (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
xjasonlyu committed Apr 6, 2024
1 parent 60a63db commit 0d819e1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: "CodeQL"

concurrency:
group: codeql-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches: [ main ]
pull_request:

jobs:
analyze:
Expand All @@ -18,6 +23,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
check-latest: true
go-version-file: 'go.mod'

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down

0 comments on commit 0d819e1

Please sign in to comment.