Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MortalFlesh committed Dec 6, 2022
1 parent 577a1e8 commit eabe0ff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Check

on:
#push:
push:
branches:
- master
- main
pull_request:
schedule:
- cron: '0 3 * * *'
Expand All @@ -13,34 +16,30 @@ jobs:
os: [windows-latest, macos-latest, ubuntu-latest]
dotnet: [7.0.100]
runs-on: ${{ matrix.os }}
name: "Build on {{ matrix.os }}"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet }}

- name: Restore tools
run: dotnet tool restore

- name: Run tests
- name: Run build
run: ./build.sh

tests:
runs-on: macos-latest
name: "Check application"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.100

- name: Restore tools
run: dotnet tool restore

- name: Run tests
run: ./build.sh -t tests no-clean
run: ./build.sh -t tests
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Block fixup commits

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Block fixup commit merge
uses: 13rac1/[email protected]

0 comments on commit eabe0ff

Please sign in to comment.