Skip to content

chore: add workflows #7

chore: add workflows

chore: add workflows #7

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '46 13 * * 1'
jobs:
analyze:
name: Analyze CodeQL
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
cache-dependency-path: |
print2pdf/go.sum
plain/go.sum
lambda/go.sum
go-version-file: go.mod
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
build-mode: manual
- name: Build
run: |
go build -C print2pdf
go build -C plain
go build -C lambda
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:go'