Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
permissions:
contents: read

on:

Check warning on line 17 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

17:1 [truthy] truthy value should be one of [false, true]
push:
branches: [ main ]

Check failure on line 19 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

19:21 [brackets] too many spaces inside brackets

Check failure on line 19 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

19:16 [brackets] too many spaces inside brackets
paths-ignore:
- '**/*.md'
- '**/*.txt'
- '**/*.yaml'
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]

Check failure on line 26 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

26:21 [brackets] too many spaces inside brackets

Check failure on line 26 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

26:16 [brackets] too many spaces inside brackets
paths-ignore:
- '**/*.md'
- '**/*.txt'
Expand All @@ -43,26 +43,26 @@
strategy:
fail-fast: false
matrix:
language: [ 'go' ]

Check failure on line 46 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

46:25 [brackets] too many spaces inside brackets

Check failure on line 46 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

46:20 [brackets] too many spaces inside brackets
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1

Check warning on line 52 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

52:82 [comments] too few spaces before comment: expected 2
with:
egress-policy: audit

- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

Check warning on line 57 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

57:71 [comments] too few spaces before comment: expected 2
- name: Setup go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v5

Check warning on line 59 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

59:71 [comments] too few spaces before comment: expected 2
with:
go-version-file: go.mod

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2

Check warning on line 65 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

65:80 [comments] too few spaces before comment: expected 2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -70,7 +70,7 @@
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0

Check warning on line 73 in .github/workflows/codeql.yml

View workflow job for this annotation

GitHub Actions / Linting

73:68 [comments] too few spaces before comment: expected 2
with:
path: |
~/.cache/go-build
Expand All @@ -96,4 +96,4 @@
make -j 4 all

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
Loading