diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9167a5e..d22a692 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,12 @@ on: - main - develop +permissions: + contents: read + jobs: build-and-test: + name: Build and Test runs-on: ubuntu-latest steps: @@ -24,11 +28,14 @@ jobs: with: dotnet-version: "10.0.x" + - name: Display .NET version + run: dotnet --version + - name: Restore Dependencies - run: dotnet restore + run: dotnet restore TransitPulse.slnx - name: Build Solution - run: dotnet build --no-restore + run: dotnet build TransitPulse.slnx --no-restore --configuration Release - name: Run Tests - run: dotnet test --no-build --verbosity normal + run: dotnet test TransitPulse.slnx --no-build --configuration Release --verbosity normal