Bump eslint-plugin-react from 7.37.1 to 7.37.3 in /src/frontend #878
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'CI for Backend' | |
on: | |
pull_request: | |
branches: | |
- main | |
- dev | |
- 'releases/**' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Backend - Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
name: Check out repository | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'src/backend/**' | |
- 'src/backend.tests/**' | |
- if: steps.changes.outputs.src == 'true' | |
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 | |
with: | |
dotnet-version: '6.0.x' | |
- if: steps.changes.outputs.src == 'true' | |
run: | | |
dotnet restore | |
dotnet build | |
name: Build | |
working-directory: 'src/backend' | |
- if: steps.changes.outputs.src == 'true' | |
run: | | |
dotnet test --logger "trx;LogFileName=test-results.trx" | |
name: Test | |
working-directory: 'src/backend.tests' | |
- if: success() || failure() | |
name: Upload backend test report | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: dotnet-test-results | |
path: src/backend.tests/TestResults/test-results.trx |