migrate parse helpers for ids, mentions and names of users, roles and channels to the TryParse style #597
Workflow file for this run
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET Tests | |
on: | |
#push: | |
# branches: [ "mane" ] | |
pull_request: | |
branches: [ "mane" ] | |
# Don't run checks on things non-code related. Add additional ignores below. | |
paths-ignore: | |
- '**/*.md' | |
- '**/Dockerfile' | |
- '**/Docker Compose/**' | |
- '**/.gitignore' | |
- '**/.dockerignore' | |
- '**/.gitattributes' | |
- '**/.github/**' | |
- '**/.editorconfig' | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release --no-restore | |
- name: Test | |
run: dotnet test -c Release --no-build --verbosity normal |