Skip to content

ci: remove prefix requirement on actions #21

ci: remove prefix requirement on actions

ci: remove prefix requirement on actions #21

Workflow file for this run

# .github/workflows/ci.yml
name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Restore .NET tools
run: dotnet tool restore
- name: Run Tests
run: dotnet run .build/targets.cs test
- name: Upload test results
if: always() # Run this step even if tests fail
uses: actions/upload-artifact@v4
with:
name: test-results-${{ matrix.os }}
path: TestResults/