Skip to content

chore: Bump the dependencies group in /frontend with 9 updates #343

chore: Bump the dependencies group in /frontend with 9 updates

chore: Bump the dependencies group in /frontend with 9 updates #343

Workflow file for this run

name: "CodeQL"
on:
push:
branches:
- "main"
pull_request:
schedule:
- cron: '42 4 * * 3' # Every Wednesday at 4:42am
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: 'ubuntu-latest'
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: go
build-mode: manual
- language: javascript-typescript
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
name: Set up Go
if: matrix.build-mode == 'manual' && matrix.language == 'go'
with:
go-version: stable
cache: true
cache-dependency-path: backend/go.sum
- name: Initialize CodeQL
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
queries: security-and-quality
- name: Install Buf CLI
uses: bufbuild/buf-action@219c9aef02e8f6a27e4b46274db239ef513f5d53 # v1.4.0
if: matrix.build-mode == 'manual' && matrix.language == 'go'
with:
setup_only: true
version: 1.66.1
- name: Compile Protobufs
working-directory: ./backend
if: matrix.build-mode == 'manual' && matrix.language == 'go'
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.11
buf generate
- name: Build Go code
working-directory: ./backend
if: matrix.build-mode == 'manual' && matrix.language == 'go'
run: go build -o bin/hub ./cmd/hub && go build -o bin/agent ./cmd/agent
env:
CGO_ENABLED: 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
with:
category: "/language:${{matrix.language}}"