Skip to content

Commit

Permalink
chore: Fix codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Dec 1, 2023
1 parent e2b2469 commit 77feda0
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,32 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: true
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

language: [ 'go' ]
os: [ 'ubuntu-22.04' ]
go-version: [1.21]
steps:
- name: Checkout repository
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up go
uses: actions/setup-go@v4.1.0
with:
go-version: ${{ matrix.go-version }}
- run: |
go version
shell: bash
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down

0 comments on commit 77feda0

Please sign in to comment.