2022-02-10 08:45:55 +03:00
|
|
|
# This is a basic workflow to help you get started with Actions
|
|
|
|
|
2022-02-10 09:00:15 +03:00
|
|
|
name: checks
|
2022-02-10 08:45:55 +03:00
|
|
|
|
|
|
|
# Controls when the workflow will run
|
|
|
|
on:
|
|
|
|
# Triggers the workflow on push or pull request events but only for the main branch
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-02 01:42:37 +03:00
|
|
|
- uses: actions/checkout@v3
|
2022-02-10 08:45:55 +03:00
|
|
|
- name: Setup .NET
|
2022-02-26 00:35:26 +03:00
|
|
|
uses: actions/setup-dotnet@v2
|
2022-02-10 08:45:55 +03:00
|
|
|
with:
|
|
|
|
dotnet-version: 6.0.x
|
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
|
|
|
- name: Build
|
|
|
|
run: dotnet build --no-restore
|