CreamInstaller/.github/workflows/codeql.yml

34 lines
616 B
YAML
Raw Normal View History

2022-12-21 02:44:04 +05:00
name: Test
2022-05-17 20:41:11 +05:00
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
2022-12-21 02:44:04 +05:00
test:
name: Test
2022-05-17 21:07:35 +05:00
runs-on: windows-latest
2022-05-17 20:41:11 +05:00
permissions:
actions: read
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
2022-05-17 21:14:10 +05:00
- name: Setup
uses: actions/setup-dotnet@v1
with:
2022-12-21 02:30:57 +05:00
dotnet-version: 7.x.x
2022-05-17 21:14:10 +05:00
- name: Restore
run: dotnet restore
- name: Build
2022-05-17 21:19:52 +05:00
run: dotnet build --no-restore --configuration Release /p:UseSharedCompilation=false
2022-05-17 21:14:10 +05:00
- name: Test
run: dotnet test --no-build --verbosity normal --configuration Release