Bump Meziantou.Analyzer from 2.0.173 to 2.0.185 #352
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
#- name: generate build number | |
# uses: zyborg/gh-action-buildnum@v1 | |
# with: | |
# gist_token: ${{ secrets.BUILDNUMBER_GIST_TOKEN }} | |
# set_env: true | |
#- name: print repo global build number | |
# run: echo Global Build Number is $BUILDNUM_FOR_GLOBAL | |
#- name: get existing build number | |
# uses: zyborg/gh-action-buildnum@v1 | |
# id: lastBuildNum | |
# with: | |
# gist_token: ${{ secrets.BUILDNUMBER_GIST_TOKEN }} | |
# skip_bump: true | |
#- name: dump last build num | |
# run: | | |
# echo Global Build Number is ${{ steps.lastBuildNum.outputs.global_buildnum }} | |
# echo Workflow Build Number is ${{ steps.lastBuildNum.outputs.workflow_buildnum }} |