Skip to content

chore(deps): bump github.com/rs/cors from 1.10.1 to 1.11.0 in /backend in the go_modules group across 1 directory #260

chore(deps): bump github.com/rs/cors from 1.10.1 to 1.11.0 in /backend in the go_modules group across 1 directory

chore(deps): bump github.com/rs/cors from 1.10.1 to 1.11.0 in /backend in the go_modules group across 1 directory #260

Workflow file for this run

name: Check
on:
pull_request:
push:
branches:
- master
jobs:
scan:
name: Secret scan
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
with:
extra_args: --debug --only-verified
ci-backend:
name: Backend
runs-on: ubuntu-latest
timeout-minutes: 20
container: golang:1-bookworm
defaults:
run:
working-directory: ./backend
services:
smtp:
image: marlonb/mailcrab:latest
ports:
- 1025:1025
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
run: go build -buildvcs=false .
- name: Run test & coverage
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...
env:
TZ: UTC
DATABASE_URL: postgres://postgres:password@db:5432/conf?sslmode=disable
SMTP_HOSTNAME: smtp
DB_HOST: db
DB_USER: postgres
DB_PASSWORD: password
DB_NAME: conf
- uses: codecov/codecov-action@v3
ci-frontend:
name: Frontend
runs-on: ubuntu-latest
timeout-minutes: 20
container: node:20.5.1-bookworm
defaults:
run:
working-directory: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build