Bump the extensions group across 2 directories with 8 updates #483
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
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 |