Skip to content

Merge pull request #59 from cactus/dependabot/go_modules/github.com/j… #134

Merge pull request #59 from cactus/dependabot/go_modules/github.com/j…

Merge pull request #59 from cactus/dependabot/go_modules/github.com/j… #134

name: "CodeQL"
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
branches: [master]
schedule:
- cron: '0 15 * * 4'
jobs:
analyse:
name: Analyse
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20.x'
check-latest: true
id: go
- name: build
env:
GO111MODULE: "on"
GOPROXY: "https://proxy.golang.org"
run: go build ./...
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2