Update Rocket Surgery Testing to 8.0.18 #3939
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ------------------------------------------------------------------------------ | |
# <auto-generated> | |
# | |
# This code was generated. | |
# | |
# - To turn off auto-generation set: | |
# | |
# [GitHubActionsSteps (AutoGenerate = false)] | |
# | |
# - To trigger manual generation invoke: | |
# | |
# nuke --generate-configuration GitHubActions_ci --host GitHubActions | |
# | |
# </auto-generated> | |
# ------------------------------------------------------------------------------ | |
name: ci | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'next' | |
- 'feature/*' | |
tags: | |
- 'v*' | |
pull_request: | |
branches: | |
- 'master' | |
- 'next' | |
permissions: | |
actions: read | |
checks: read | |
contents: read | |
deployments: read | |
id-token: none | |
issues: write | |
discussions: none | |
packages: none | |
pages: none | |
pull-requests: write | |
repository-projects: none | |
security-events: none | |
statuses: write | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
clean: 'false' | |
fetch-depth: '0' | |
- name: Fetch all history for all tags and branches | |
run: | | |
git fetch --prune | |
- name: 🔨 Use .NET 8 SDK | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.101' | |
- name: 🎁 dotnet tool restore | |
run: | | |
dotnet tool restore | |
- name: Workloads | |
id: workloads | |
run: | | |
dotnet nuke Workloads --skip | |
- name: 🎁 Restore | |
id: restore | |
run: | | |
dotnet nuke Restore --skip | |
- name: ⚙ Build | |
id: build | |
run: | | |
dotnet nuke Build --skip | |
- name: 🚦 Test | |
id: test | |
run: | | |
dotnet nuke Test TriggerCodeCoverageReports GenerateCodeCoverageReportCobertura GenerateCodeCoverageBadges GenerateCodeCoverageSummary GenerateCodeCoverageReport --skip | |
- name: 📦 Pack | |
id: pack | |
run: | | |
dotnet nuke Pack --skip | |
- name: Git Hub Actions | |
id: gitHubActions | |
run: | | |
dotnet nuke GitHubActions --skip | |
- name: 🐿 Publish Coverage | |
uses: codecov/[email protected] | |
with: | |
name: 'actions-${{ matrix.os }}' | |
- name: 🏺 Publish logs | |
if: always() | |
uses: actions/[email protected] | |
with: | |
name: 'logs' | |
path: 'artifacts/logs/' | |
- name: 🏺 Publish coverage data | |
if: always() | |
uses: actions/[email protected] | |
with: | |
name: 'coverage' | |
path: 'coverage/' | |
- name: 🏺 Publish test data | |
if: always() | |
uses: actions/[email protected] | |
with: | |
name: 'test data' | |
path: 'artifacts/test/' | |
- name: 🏺 Publish NuGet Packages | |
if: always() | |
uses: actions/[email protected] | |
with: | |
name: 'nuget' | |
path: 'artifacts/nuget/' |