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 9feb545 commit eb8049e
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 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,7 @@ 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 }}
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -124,8 +126,7 @@ 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 }}
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -183,8 +184,7 @@ 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 }}
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -320,8 +320,7 @@ 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 }}
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -364,8 +363,7 @@ 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 }}
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down Expand Up @@ -407,8 +405,7 @@ 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 }}
find . -type f -name "*.fsx" | xargs -t -I {} dotnet fsxc {}
Expand Down

0 comments on commit eb8049e

Please sign in to comment.