Skip to content

Bump IDisposableAnalyzers from 4.0.2 to 4.0.7 in /source #231

Bump IDisposableAnalyzers from 4.0.2 to 4.0.7 in /source

Bump IDisposableAnalyzers from 4.0.2 to 4.0.7 in /source #231

Workflow file for this run

name: Build
on:
push:
branches:
- main
- develop
- "feature/**"
- "release/**"
- "hotfix/**"
tags:
- "*"
paths-ignore:
- "README.md"
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-2022, ubuntu-22.04, macos-12 ]
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- uses: actions/setup-dotnet@v3
with:
# codecov and unittests need 2.1, gitversion needs 5.0 and need .NET 6 to build
dotnet-version: |
2.1.818
3.1.414
5.0.402
6.0.100
- name: Cache Tools
uses: actions/cache@v3
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
- name: Build project
uses: cake-build/[email protected]
with:
script-path: recipe.cake
target: CI
verbosity: Diagnostic
cake-version: tool-manifest
# currently, Cake.Recipe does not upload artifacts when run on gh-actions
- name: Upload Issues
uses: actions/upload-artifact@v3
with:
if-no-files-found: warn
name: ${{ matrix.os }} Issues
path: |
BuildArtifacts/report.html
BuildArtifacts/**/coverlet/*.xml
- name: Upload Packages
uses: actions/upload-artifact@v3
if: runner.os == 'Windows'
with:
if-no-files-found: warn
name: package
path: BuildArtifacts/Packages/**/*