FruityFoundation/.github/workflows/ci.yml

32 lines
728 B
YAML
Raw Normal View History

2021-11-19 00:16:05 -05:00
name: ci
on: [push]
2023-08-01 22:12:54 -04:00
# Allow one run of this workflow per branch and cancel existing runs if triggered again
concurrency:
group: fruityfoundation-ci-${{ github.ref_name }}
cancel-in-progress: true
2021-11-19 00:16:05 -05:00
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
2023-12-17 13:47:03 -05:00
dotnet-version: ['8.0.x', '7.0.x', '6.0.x']
2021-11-19 00:16:05 -05:00
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
2023-08-01 22:12:54 -04:00
dotnet-version: |
6.0.x
7.0.x
2023-12-17 13:47:03 -05:00
8.0.x
2021-11-19 00:16:05 -05:00
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal