Skip to content

Update actions/upload-artifact action to v6 (#196) #599

Update actions/upload-artifact action to v6 (#196)

Update actions/upload-artifact action to v6 (#196) #599

Workflow file for this run

# This file is auto-generated.
name: Main
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: 0 0 * * 6
workflow_dispatch:
jobs:
verify-workflows:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Set up .NET SDK
uses: actions/setup-dotnet@v5
- run: dotnet fsi ./scripts/github-actions.fsx verify
check:
strategy:
matrix:
image:
- macos-15
- ubuntu-24.04
- windows-2025
fail-fast: false
runs-on: ${{ matrix.image }}
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages
steps:
- uses: actions/checkout@v6
- name: Set up .NET SDK
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.x
- name: NuGet cache
uses: actions/cache@v5
with:
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.csproj') }}
path: ${{ env.NUGET_PACKAGES }}
- name: Build
run: dotnet build
- name: Test
run: dotnet test
timeout-minutes: 10
licenses:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: REUSE license check
uses: fsfe/reuse-action@v6
encoding:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Verify encoding
shell: pwsh
run: scripts/Test-Encoding.ps1
nowarn-empty:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Verify with NoWarn as empty
run: dotnet build /p:NoWarn='' --no-incremental