Skip to content

Commit

Permalink
chore: update CodeQL (#2405)
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Baker <rbtr@users.noreply.github.com>
  • Loading branch information
rbtr authored and matmerr committed Jan 16, 2024
1 parent eea621b commit 4aa677d
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,39 @@
name: "CodeQL"
on:
workflow_dispatch:
push:
branches: [ master ]
branches:
- master
- release/*
pull_request:
branches: [ master ]
branches:
- master
- release/*
types:
- opened
- reopened
- synchronize
- ready_for_review
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
language: [go]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
Expand All @@ -33,3 +44,5 @@ jobs:
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

0 comments on commit 4aa677d

Please sign in to comment.