Switzerland - Fix All Saints' Day #702
Workflow file for this run
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: Build & Test | |
on: | |
push: | |
paths: | |
- 'src/**' | |
- '.github/workflows/**' | |
branches: [ main ] | |
pull_request: | |
paths: | |
- 'src/**' | |
- '.github/workflows/**' | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET 8.0 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
working-directory: ./src | |
run: dotnet restore | |
- name: Build | |
working-directory: ./src | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
working-directory: ./src | |
run: | | |
dotnet test --configuration Release --no-restore --no-build --verbosity normal | |
dependabot: | |
name: Dependabot Auto Merge | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Dependabot Auto Merge | |
uses: dailydevops/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
command: squash | |
handle-submodule: true | |
target: minor |