Skip to content

Commit 038a655

Browse files
authored
Add action for on push
1 parent d747a00 commit 038a655

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/on-push.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow will build a .NET project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+
name: On push
5+
permissions:
6+
contents: read
7+
pull-requests: write
8+
9+
on:
10+
push:
11+
branches:
12+
- '**'
13+
tags-ignore:
14+
- '**'
15+
pull_request:
16+
17+
jobs:
18+
build:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v6
24+
- name: Setup .NET
25+
uses: actions/setup-dotnet@v5
26+
with:
27+
dotnet-version: 10.0.x
28+
- name: Restore dependencies
29+
run: dotnet restore
30+
- name: Build
31+
run: dotnet build --no-restore
32+
- name: Test
33+
run: dotnet test --no-build --verbosity normal

0 commit comments

Comments
 (0)