chore(deps): update github actions #2185
Workflow file for this run
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' | |
jobs: | |
Build: | |
runs-on: macos-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 6 SDK | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.0.100' | |
- name: 🎁 dotnet tool restore | |
run: | | |
dotnet tool restore | |
- name: 🎁 Restore | |
run: | | |
dotnet nuke Restore --skip | |
- name: ⚙ Build | |
run: | | |
dotnet nuke Build --skip | |
- name: 🚦 Test | |
run: | | |
dotnet nuke Test --skip | |
- name: Trigger Code Coverage Reports | |
run: | | |
dotnet nuke TriggerCodeCoverageReports --skip | |
- name: Generate Code Coverage Report Cobertura | |
run: | | |
dotnet nuke GenerateCodeCoverageReportCobertura --skip | |
- name: Generate Code Coverage Badges | |
run: | | |
dotnet nuke GenerateCodeCoverageBadges --skip | |
- name: Generate Code Coverage Summary | |
run: | | |
dotnet nuke GenerateCodeCoverageSummary --skip | |
- name: Generate Code Coverage Report | |
run: | | |
dotnet nuke GenerateCodeCoverageReport --skip | |
- name: 📦 Pack | |
run: | | |
dotnet nuke Pack --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/' |