Skip to content

build(deps-dev): Bump eslint-plugin-react-refresh from 0.4.9 to 0.4.12 in /app/web #177

build(deps-dev): Bump eslint-plugin-react-refresh from 0.4.9 to 0.4.12 in /app/web

build(deps-dev): Bump eslint-plugin-react-refresh from 0.4.9 to 0.4.12 in /app/web #177

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
# docs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: 🧪 Tests
on:
workflow_dispatch: {}
push:
branches: [master, main]
paths-ignore: ['**.md']
tags-ignore: ['**']
pull_request:
paths-ignore: ['**.md']
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
git-leaks:
name: 🔐 Check for GitLeaks
runs-on: ubuntu-latest
steps:
- {uses: actions/checkout@v4, with: {fetch-depth: 0}}
- uses: gacts/gitleaks@v1
dns-control:
name: 🌐 DNSControl check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gacts/install-dnscontrol@v1
- run: dnscontrol check
working-directory: dns
lint-and-test-app-backend:
name: 🧪 Test and lint app (backend)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- {uses: actions/setup-go@v5, with: {go-version-file: ./app/go.mod, cache-dependency-path: ./app/go.sum}}
- run: go install "github.com/oapi-codegen/oapi-codegen/v2/cmd/[email protected]"
- run: go generate -skip readme ./...
working-directory: ./app
- uses: golangci/golangci-lint-action@v6
with: {working-directory: ./app}
- run: go test -race -covermode=atomic ./...
working-directory: ./app
lint-and-test-app-frontend:
name: 🧪 Test and lint app (frontend)
runs-on: ubuntu-latest
env: {FORCE_COLOR: 'true', NPM_PREFIX: './app/web'}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: {node-version: 22, cache: 'npm', cache-dependency-path: ./app/web/package-lock.json}
- run: npm --prefix "$NPM_PREFIX" install -dd --no-audit
- run: npm --prefix "$NPM_PREFIX" run generate
- run: npm --prefix "$NPM_PREFIX" run lint
- run: npm --prefix "$NPM_PREFIX" run test
- run: npm --prefix "$NPM_PREFIX" run build
lint-mkcert:
name: 🧪 Lint mkcert
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- {uses: actions/setup-go@v5, with: {go-version-file: ./mkcert/go.mod, cache-dependency-path: ./mkcert/go.sum}}
- uses: golangci/golangci-lint-action@v6
with: {working-directory: ./mkcert}
build-docker-image:
name: 🏗️ Build the docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/build-push-action@v4
with:
context: ./app
file: ./app/Dockerfile
push: false
tags: app:local