Skip to content

fix: un-used args (golangci-lint error) #81

fix: un-used args (golangci-lint error)

fix: un-used args (golangci-lint error) #81

# Security vulnerability scanning using CodeQL, the semantic code analysis engine.
# See:
# https://github.com/github/codeql-action
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages#go
name: "CodeQL"
on:
workflow_dispatch:
push:
schedule:
# Runs at 16:30 UTC on day-of-month 1 (Every day-of-month 1 at AM 01:30 JST, my time)
# See: https://crontab.guru/
- cron: '30 16 1 * *'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2