Skip to content

Initial version review #2

Initial version review

Initial version review #2

Workflow file for this run

on:
schedule:
- cron: '5 11 * * 3'
push:
paths-ignore:
- 'charts/**'
- 'example/**'
- 'docs/**'
- '/*.md'
branches:
- 'main'
- 'release-*'
pull_request:
branches:
- 'main'
- 'release-*'
paths-ignore:
- 'charts/**'
- 'example/**'
- 'docs/**'
- '/*.md'
workflow_call:
name: CodeQL analysis
jobs:
codql-build:
permissions:
security-events: write
strategy:
matrix:
architecture: [amd64]
os: [linux]
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
uses: actions/setup-go@v2
with:
go-version: 1.21.x
cache: true
id: go
- name: Checkout code
uses: actions/checkout@v3
- name: Download Go modules
run: go mod download
env:
GOPROXY: https://proxy.golang.org
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Build
run: GOOS=${{ matrix.os }} GOARCH=${{matrix.architecture}} go build -o bin/node-undertaker ./cmd/node-undertaker
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2