Skip to content

chore(deps): update dependency ubuntu to v24 - autoclosed #17

chore(deps): update dependency ubuntu to v24 - autoclosed

chore(deps): update dependency ubuntu to v24 - autoclosed #17

Workflow file for this run

---
name: 'Run tests'
on:
schedule:
- cron: '0 10 * * *'
push:
branches: ['*']
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'schedule' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v16
with:
extra-conf: |
accept-flake-config = true
diagnostic-endpoint: ''
- name: Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run linters via pre-commit
run: nix develop -c pre-commit run --all-files
test:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'schedule' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Nx stuff
uses: nrwl/nx-set-shas@v4
- name: Run e2e tests (not failing for now)
run: pnpm exec nx affected -t test build e2e-ci || true
scan:
runs-on: ubuntu-latest
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
with:
exit-code: '1'
format: 'table'
ignore-unfixed: true
scan-ref: '.'
scan-type: 'repo'
severity: 'CRITICAL,HIGH'
skip-dirs: '/root/.local/share/pnpm/store'
timeout: 20m0s
env:
TRIVY_DISABLE_VEX_NOTICE: true
TRIVY_SKIP_DB_UPDATE: true
TRIVY_SKIP_JAVA_DB_UPDATE: true