mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
29 lines
592 B
YAML
29 lines
592 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.3
|
|
|
|
- name: Install .NET
|
|
uses: actions/setup-dotnet@v1.7.2
|
|
with:
|
|
dotnet-version: 6.0.x
|
|
|
|
- name: Build & test
|
|
run: dotnet test --configuration Release --logger GitHubActions
|
|
|
|
- name: Upload coverage
|
|
uses: codecov/codecov-action@v1.0.5
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|