Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
sudo chown -R $USER /usr/local/.ghcup
shell: bash

- uses: haskell-actions/setup@v2.10.3
- uses: haskell-actions/setup@v2.11
id: HaskEnvSetup
with:
ghc-version : ${{ inputs.ghc }}
Expand Down
4 changes: 2 additions & 2 deletions .github/generate-ci/gen_ci.hs
Original file line number Diff line number Diff line change
Expand Up @@ -613,12 +613,12 @@ checkoutAction :: Value
checkoutAction = ghAction "Checkout" "actions/checkout@v4" [] []

uploadArtifacts :: String -> String -> Value
uploadArtifacts name path = ghAction "Upload artifact" "actions/upload-artifact@v6"
uploadArtifacts name path = ghAction "Upload artifact" "actions/upload-artifact@v7"
[ "if-no-files-found" .= str "error"
, "retention-days" .= (2 :: Int)
, "name" .= name
, "path" .= path
] []

downloadArtifacts :: String -> String -> Value
downloadArtifacts name path = ghAction "Download artifacts" "actions/download-artifact@v7" [ "name" .= name, "path" .= path ] []
downloadArtifacts name path = ghAction "Download artifacts" "actions/download-artifact@v8" [ "name" .= name, "path" .= path ] []
14 changes: 7 additions & 7 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,14 @@ jobs:
tar -czf cabal.tar.gz *

- name: Upload workspace
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
retention-days: 1
path: workspace.tar.gz

- name: Upload .cabal
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
retention-days: 1
Expand All @@ -132,20 +132,20 @@ jobs:
example: ['cabal', 'lsp-types']

steps:
- uses: haskell-actions/setup@v2.10.3
- uses: haskell-actions/setup@v2.11
with:
ghc-version : ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
enable-stack: false

- name: Download cabal home
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
path: .

- name: Download workspace
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
path: .
Expand All @@ -170,7 +170,7 @@ jobs:
run: find bench-results -name "*.csv" | xargs tar -czf benchmark-artifacts.tar.gz

- name: Archive benchmarking artifacts
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: bench-results-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
path: benchmark-artifacts.tar.gz
Expand All @@ -180,7 +180,7 @@ jobs:
run: find bench-results -name "*.log" -or -name "*.hp" | xargs tar -czf benchmark-logs.tar.gz

- name: Archive benchmark logs
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: bench-logs-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
path: benchmark-logs.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/caching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
# Need the repo checked out in order to read the file
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: ghcs
run: echo "ghcs=$(cat ./.github/workflows/supported-ghc-versions.json)" >> $GITHUB_OUTPUT
- id: skip_check
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- macOS-latest
- windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/setup-build
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/flags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
# Need the repo checked out in order to read the file
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: ghcs
run: echo "ghcs=$(cat ./.github/workflows/supported-ghc-versions.json)" >> $GITHUB_OUTPUT
- id: skip_check
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:

# By default, the `pull_request` event has a `GITHUB_SHA` env variable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
os: [ubuntu-latest]

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

- uses: cachix/install-nix-action@v31
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
git-diff: ${{ steps.git-diff.outputs.diff }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Find changed files
uses: technote-space/get-diff-action@v6.1.2
id: git-diff
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
needs: file-diff
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-build
with:
# select a stable GHC version
Expand Down
Loading
Loading