Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Bump actions/checkout from 4.1.1 to 4.1.6 #97

Bump actions/checkout from 4.1.1 to 4.1.6

Bump actions/checkout from 4.1.1 to 4.1.6 #97

name: Test steganography.api
on:
pull_request:
branches:
- main
- staging
push:
branches:
- staging
jobs:
should_run:
uses: JensDll/should-run/.github/workflows/main.yaml@main
with:
projects: services/steganography.api
test:
needs: should_run
if: fromJSON(needs.should_run.outputs.result)['services/steganography.api'] == 'true'
defaults:
run:
shell: bash
working-directory: services/steganography.api
strategy:
matrix:
configuration: [Debug, Release]
runs-on: ubuntu-latest
steps:
- name: Checking out the repository
uses: actions/checkout@v4.1.6
- name: Setting up dotnet
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: "7.0.4xx"
- name: Restoring solution
run: dotnet restore
- name: Building solution
run: dotnet build --no-restore --configuration ${{ matrix.configuration }}
- name: Running tests
run: dotnet test --no-restore --no-build --configuration ${{ matrix.configuration }}