Skip to content

Add CI workflows and Dependabot config #6

Add CI workflows and Dependabot config

Add CI workflows and Dependabot config #6

Workflow file for this run

name: Security
on:
push:
branches: [main]
pull_request:
schedule:
- cron: '0 6 * * 1'
workflow_dispatch:
jobs:
govulncheck:
name: Go Vulnerability Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26'
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck
run: cd go && govulncheck ./...
npm-audit:
name: npm Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install
run: cd typescript && npm ci
- name: Audit
run: cd typescript && npm audit --audit-level=high
bundler-audit:
name: Bundler Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '4.0'
bundler-cache: true
working-directory: ruby
- name: Install bundler-audit
run: gem install bundler-audit
- name: Audit
run: cd ruby && bundle-audit check --update