Skip to content

Merge pull request #2 from LT-Students/add_menu_command #11

Merge pull request #2 from LT-Students/add_menu_command

Merge pull request #2 from LT-Students/add_menu_command #11

Workflow file for this run

name: Build & Test TelegramService
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the develop branch
on:
push:
branches: [ '*' ]
pull_request:
branches: [ develop ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.404
- name: Setup NuGet.exe
uses: NuGet/[email protected]
- name: Restore
run: nuget restore -Source https://api.nuget.org/v3/index.json
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --no-restore --verbosity normal