Skip to content

Bump NuGetizer from 1.2.2 to 1.2.3 in /samples/dotnet/Library #445

Bump NuGetizer from 1.2.2 to 1.2.3 in /samples/dotnet/Library

Bump NuGetizer from 1.2.2 to 1.2.3 in /samples/dotnet/Library #445

Workflow file for this run

name: samples
on:
workflow_dispatch:
push:
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
paths:
- samples/dotnet/**/*.*
pull_request:
types: [opened, synchronize, reopened]
env:
DOTNET_NOLOGO: true
PackOnBuild: true
GeneratePackageOnBuild: true
VersionPrefix: 42.42.${{ github.run_number }}
VersionLabel: ${{ github.ref }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
defaults:
run:
shell: bash
jobs:
analyzer:
name: sample-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: 🤘 checkout
uses: actions/checkout@v4
- name: 🙏 build
working-directory: samples/dotnet
run: dotnet build -m:1 -bl:build.binlog
- name: 🧪 test
working-directory: samples/dotnet
run: |
dotnet tool update -g dotnet-retest
dotnet retest -- --no-build
- name: 🐛 logs
uses: actions/upload-artifact@v4
if: runner.debug && always()
with:
name: logs
path: samples/dotnet/*.binlog
dotnet-format:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: ✓ ensure format
working-directory: samples/dotnet
run: |
dotnet format whitespace --verify-no-changes -v:diag --exclude ~/.nuget
dotnet format style --verify-no-changes -v:diag --exclude ~/.nuget