Skip to content

.net 9 use built-in functions to check ascii chars #26

.net 9 use built-in functions to check ascii chars

.net 9 use built-in functions to check ascii chars #26

Workflow file for this run

name: CLI
on:
push:
branches:
- main
paths-ignore:
- docs/**
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 9.x
include-prerelease: true
- name: Setup NuGet
uses: NuGet/setup-nuget@v1
- name: Clean
run: dotnet clean
- name: NuGet clear cache
run: nuget locals all -clear
- name: Restore tools
run: dotnet tool restore
#- name: Check format
# run: dotnet format --verify-no-changes
- name: Restore dependencies
run: dotnet restore
- name: Check dependencies for deprecated packages
run: dotnet list package --deprecated
- name: Check dependencies for vulnerable packages
run: dotnet list package --vulnerable --include-transitive
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal --collect "Code coverage"
- name: Publish
working-directory: src/Science.Cryptography.Ciphers.Console
run: dotnet publish --configuration Release --version-suffix "preview.${{ github.run_number }}"
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: dotnet
path: src/*.Console/bin/Release/*/publish/