Skip to content

Commit

Permalink
github/workflow: fix codeql workflow syntax (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
zchee authored May 25, 2021
1 parent f5d35a3 commit 2542aa1
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CodeQL
name: "CodeQL"

on:
push:
Expand All @@ -15,24 +15,22 @@ jobs:
name: Analyze
runs-on: ubuntu-20.04

permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false

steps:
- name: Checkout code
uses: actions/checkout@main
with:
fetch-depth: 2

- name: Install Go
uses: actions/setup-go@main
with:
go-version: 1.16.x
- name: Checkout repository
uses: actions/checkout@v2

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: go
languages: 'go'

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit 2542aa1

Please sign in to comment.