mishima-nexus-client-csharp/.github/workflows/ci.yml

36 lines
821 B
YAML

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
permissions:
contents: read
packages: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
build-test-verify:
runs-on: ubuntu-latest
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- uses: actions/setup-dotnet@v5
with:
dotnet-version: "10.0.x"
- name: Quality gate (analyzers + tests + coverlet ≥ 90%)
run: bash scripts/woodpecker-verify.sh
- name: Upload coverage
uses: codecov/codecov-action@v5
if: github.event_name == 'push' || github.event_name == 'pull_request'
with:
directory: ./coverage
fail_ci_if_error: false