chore: Initial commit #1
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 and Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: "9.0" | |
- name: Unlock secrets | |
uses: sliteteam/[email protected] | |
env: | |
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }} | |
- name: Build | |
run: dotnet build --configuration Release | |
- name: Test | |
run: dotnet test -c Release --no-build tests/AdventOfCode.Tests/AdventOfCode.Tests.csproj |