Skip to content

Commit

Permalink
CI - build, test + fmt ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yurvon-screamo committed May 20, 2024
1 parent 8f20fbe commit f665b8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: setup build
uses: ./.github/workflows/setup-build.yaml
uses: ./.github/npm
- name: Run dotnet build
run: dotnet build --configuration Debug

Expand All @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: setup dotnet
uses: ./.github/workflows/setup-dotnet.yaml
uses: ./.github/dotnet
- name: install dotnet-format
run: dotnet tool install -g dotnet-format
- name: dotnet format check
Expand All @@ -31,7 +31,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: setup build
uses: ./.github/workflows/setup-build.yaml
uses: ./.github/npm
- name: unit test
run: dotnet test .\test\Saunter.Tests\Saunter.Tests.csproj
# TODO: why there are 2 of them....
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: setup build
uses: ./.github/workflows/setup-build.yaml
uses: ./.github/npm
- name: Set version
# Gets the numeric version from a tag (e.g. v1.2.3 -> 1.2.3)
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/setup-build.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/setup-dotnet.yaml

This file was deleted.

0 comments on commit f665b8c

Please sign in to comment.