Skip to content

MNT: Updates for 0.11: update Go version, dependencies, Docker, and C… #259

MNT: Updates for 0.11: update Go version, dependencies, Docker, and C…

MNT: Updates for 0.11: update Go version, dependencies, Docker, and C… #259

name: "CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "43 1 * * 6"
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
go: [1.21.x]
steps:
- name: Install GCC (Ubuntu)
run: |
sudo apt update
sudo apt install -y gcc-multilib g++-multilib
shell: bash
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: go
- name: Build
run: go build .
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2