forked from bitfoundation/bitplatform
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 943 Bytes
/
Copy pathbit.ci.CodeAnalyzers.yml
File metadata and controls
34 lines (26 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: bit platform CI - CodeAnalyzers
on:
workflow_dispatch:
pull_request:
paths:
- 'src/CodeAnalyzers/**'
env:
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
permissions:
contents: read
jobs:
build-CodeAnalyzers:
if: startsWith(github.event.pull_request.title, 'Prerelease') != true && startsWith(github.event.pull_request.title, 'Release') != true && startsWith(github.event.pull_request.title, 'Version') != true
name: build Bit.CodeAnalyzers
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup .NET 10.0
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
global-json-file: src/global.json
- name: dotnet build
run: dotnet build src/CodeAnalyzers/Bit.CodeAnalyzers.slnx