Compare commits
1 commit
master
...
feature/ci
Author | SHA1 | Date | |
---|---|---|---|
82c7aab876 |
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/lint-build.yml
Normal file
22
.forgejo/workflows/lint-build.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: lint-build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint-build:
|
||||||
|
name: dotnet${{ matrix.dotnet }}
|
||||||
|
runs-on: docker
|
||||||
|
container: git.frostfs.info/truecloudlab/env:dotnet-${{ matrix.dotnet }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
dotnet:
|
||||||
|
- '8.0'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
# Dotnet runs code analyzers on build (if configured):
|
||||||
|
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview?tabs=net-8#enable-on-build
|
||||||
|
- run: dotnet build
|
Loading…
Reference in a new issue