Skip to content

Commit

Permalink
CI: respect DRY wrt fsxc version
Browse files Browse the repository at this point in the history
  • Loading branch information
knocte committed Sep 2, 2024
1 parent 4334145 commit c10032c
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
schedule:
- cron: "0 0 * * *"

env:
# we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037
FSXC_VERSION: 0.5.9.1

# FIXME: figure out why we need to clean after make if we
# want 'make strict' target to really happen without
Expand Down Expand Up @@ -44,8 +47,8 @@ jobs:
run: |
dotnet new tool-manifest
# we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037
dotnet tool install fsxc --version 0.5.9.1
dotnet tool install fsxc --version ${{ env.FSXC_VERSION }}
dotnet fsxc --version
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -124,8 +127,8 @@ jobs:
run: |
dotnet new tool-manifest
# we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037
dotnet tool install fsxc --version 0.5.9.1
dotnet tool install fsxc --version ${{ env.FSXC_VERSION }}
dotnet fsxc --version
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -183,8 +186,8 @@ jobs:
run: |
dotnet new tool-manifest
# we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037
dotnet tool install fsxc --version 0.5.9.1
dotnet tool install fsxc --version ${{ env.FSXC_VERSION }}
dotnet fsxc --version
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -320,8 +323,8 @@ jobs:
run: |
dotnet new tool-manifest
# we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037
dotnet tool install fsxc --version 0.5.9.1
dotnet tool install fsxc --version ${{ env.FSXC_VERSION }}
dotnet fsxc --version
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -364,8 +367,8 @@ jobs:
run: |
dotnet new tool-manifest
# we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037
dotnet tool install fsxc --version 0.5.9.1
dotnet tool install fsxc --version ${{ env.FSXC_VERSION }}
dotnet fsxc --version
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -407,8 +410,8 @@ jobs:
run: |
dotnet new tool-manifest
# we need to install specific version because of this bug: https://github.com/dotnet/sdk/issues/24037
dotnet tool install fsxc --version 0.5.9.1
dotnet tool install fsxc --version ${{ env.FSXC_VERSION }}
dotnet fsxc --version
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down

0 comments on commit c10032c

Please sign in to comment.