Skip to content

Bump YamlDotNet from 16.3.0 to 17.0.1 #123

Bump YamlDotNet from 16.3.0 to 17.0.1

Bump YamlDotNet from 16.3.0 to 17.0.1 #123

Workflow file for this run

name: pr_validation
on:
push:
branches:
- master
- dev
- main
pull_request:
branches:
- master
- dev
- main
jobs:
test:
name: Test-${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: "Checkout"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
lfs: true
fetch-depth: 0
- name: "Install .NET SDK"
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7
with:
global-json-file: "./global.json"
- name: "Restore .NET tools"
run: dotnet tool restore
- name: "Update release notes"
shell: pwsh
run: |
./build.ps1
- name: "dotnet build"
run: dotnet build -c Release
- name: "dotnet test"
shell: bash
run: dotnet test -c Release
pack:
name: NuGet Pack
runs-on: ubuntu-latest
needs: test
steps:
- name: "Checkout"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
lfs: true
fetch-depth: 0
- name: "Install .NET SDK"
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7
with:
global-json-file: "./global.json"
- name: "dotnet pack"
run: dotnet pack -c Release -o ./bin/nuget
- name: "Upload NuGet Artifacts"
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: nuget-packages
path: ./bin/nuget/*.nupkg
retention-days: 7
slopwatch:
name: Slopwatch
runs-on: ubuntu-latest
needs: test
timeout-minutes: 10
steps:
- name: "Checkout"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0
- name: "Install .NET SDK"
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7
with:
global-json-file: "./global.json"
- name: "Restore .NET tools"
run: dotnet tool restore
- name: "slopwatch analyze"
run: dotnet slopwatch analyze
docker:
name: Docker Build
runs-on: ubuntu-latest
needs: test
steps:
- name: "Checkout"
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
lfs: true
fetch-depth: 0
- name: "Install .NET SDK"
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7
with:
global-json-file: "./global.json"
- name: "Set up Docker"
uses: docker/setup-docker-action@v4
with:
daemon-config: |
{
"debug": true,
"features": {
"containerd-snapshotter": true
}
}
- name: "Build Container Image"
run: dotnet publish src/SkillServer/SkillServer.csproj -c Release /t:PublishContainer