Skip to content

Commit

Permalink
Fix CI + Split linter and tests runner on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MangelMaxime authored Mar 13, 2024
1 parent b17fee2 commit 415f339
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: Run tests suite

steps:
- uses: actions/checkout@v2
Expand All @@ -26,6 +27,19 @@ jobs:
version: 8

- name: Tests
run: |
./build.sh lint
./build.sh test
run: ./build.sh test

lint:
runs-on: ubuntu-latest
name: Check formatting

steps:
- uses: actions/checkout@v2

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'

- name: Check formatting
run: ./build.sh lint
2 changes: 1 addition & 1 deletion src/Glutinum.Build/Glutinum.Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="BlackFox.CommandLine" Version="1.0.0" />
<PackageReference Include="FSharp.Core" Version="8.0.200" />
<PackageReference Include="FSharp.Core" Version="8.0.101" />
<PackageReference Include="Semver" Version="2.3.0" />
<PackageReference Include="SimpleExec" Version="12.0.0" />
<PackageReference Include="Thoth.Json.Newtonsoft" Version="0.1.0" />
Expand Down
6 changes: 3 additions & 3 deletions src/Glutinum.Build/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
},
"FSharp.Core": {
"type": "Direct",
"requested": "[8.0.200, )",
"resolved": "8.0.200",
"contentHash": "qnxoF3Fu0HzfOeYdrwmQOsLP1v+OtOMSIYkNVUwf6nGqWzL03Hh4r6VFCvCb54jlsgtt3WADVYkKkrgdeY5kiQ=="
"requested": "[8.0.101, )",
"resolved": "8.0.101",
"contentHash": "sOLz3O4BOxnTKfd5OChdRmDUy4Id0GfoEClRG4nzIod8LY1LJZcNyygKAV0A78XOLh8yvhA5hsDYKZXGCR9blw=="
},
"Semver": {
"type": "Direct",
Expand Down
6 changes: 3 additions & 3 deletions src/Glutinum.Converter.CLI/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
".NETStandard,Version=v2.0": {
"Fable.Core": {
"type": "Direct",
"requested": "[4.2.0, )",
"resolved": "4.2.0",
"contentHash": "ikacgHRLZpNVS33oBzl4uDHXZJDH660SaNPYCDGvFb7Hhm4WCXq0qTik8bpPJAhCnLDVrXLCAIoGKsKQ5pfx2A=="
"requested": "[4.3.0, )",
"resolved": "4.3.0",
"contentHash": "sbK+hYs7H7I3b3sbgttI4GlvQfNPcIqSz1qPSagF3QbVA46KJ/pWSXC/Dwv0s9M6AeRGmoqcIeD7GUaLn41zkA=="
},
"FSharp.Core": {
"type": "Direct",
Expand Down

0 comments on commit 415f339

Please sign in to comment.