Skip to content

upd dotnet-version

upd dotnet-version #2

Workflow file for this run

name: Webhook Test
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- ban_weebhook
pull_request:
branches:
- ban_weebhook
jobs:
test-webhook:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup .NET SDK
uses: actions/setup-dotnet@v2
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build project
run: dotnet build --configuration Release --no-restore
- name: Run tests
env:
WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: dotnet test --no-restore --verbosity normal