Skip to content

ci: run the integration tests against a real gVisor daemon (#21) #9

ci: run the integration tests against a real gVisor daemon (#21)

ci: run the integration tests against a real gVisor daemon (#21) #9

Workflow file for this run

name: CodeQL
# Static analysis on every push and PR, plus weekly.
#
# A library whose whole purpose is containing hostile code has no business
# holding itself to a lower analysis bar than the code it contains. govulncheck
# covers known vulnerabilities in dependencies; this covers the code we write.
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly, so a newly published query catches an old line of code. Findings
# arrive without anyone having to push.
- cron: '17 4 * * 1'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
analyze:
name: CodeQL Analyze
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
# security-events: write is what lets the run publish findings to the
# repository's Security tab. Nothing else here needs elevation.
security-events: write
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: true
- uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
with:
languages: go
queries: security-and-quality
- uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
with:
category: /language:go