Skip to content

Update to dotnet8 in pipeline, and fix atc-coding-rule-updater parameter #42

Update to dotnet8 in pipeline, and fix atc-coding-rule-updater parameter

Update to dotnet8 in pipeline, and fix atc-coding-rule-updater parameter #42

Workflow file for this run

name: "Pre-Integration"
on:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
dotnet-build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: 🛒 Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: ⚙️ Setup dotnet 8.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: 🧹 Clean
run: dotnet clean -c Release && dotnet nuget locals all --clear
- name: 🔁 Restore packages
run: dotnet restore
- name: 🛠️ Building library in release mode
run: dotnet build -c Release --no-restore
dotnet-test:
runs-on: ubuntu-latest
needs:
- dotnet-build
steps:
- name: 🛒 Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: ⚙️ Setup dotnet 8.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: 🔁 Restore packages
run: dotnet restore
- name: 🛠️ Build
run: dotnet build -c Release --no-restore /p:UseSourceLink=true
- name: 🧪 Run unit tests
run: dotnet test -c Release --no-build