diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 6c92eb5ebed..16c7cfd45c0 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -40,7 +40,7 @@ jobs: key: bootstrap-${{ runner.os }}-${{ matrix.ghc }}-20221115-${{ github.sha }} restore-keys: bootstrap-${{ runner.os }}-${{ matrix.ghc }}-20221115- - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: haskell-actions/setup@v2 with: ghc-version: ${{ matrix.ghc }} diff --git a/.github/workflows/changelogs.yml b/.github/workflows/changelogs.yml index 9027f11dd07..ca48564c0f9 100644 --- a/.github/workflows/changelogs.yml +++ b/.github/workflows/changelogs.yml @@ -29,7 +29,7 @@ jobs: echo "$HOME/.local/bin" >> $GITHUB_PATH - name: Checkout cabal sources - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Run changelog-d run: | diff --git a/.github/workflows/check-sdist.yml b/.github/workflows/check-sdist.yml index f36749d8bc1..7d04a0a3431 100644 --- a/.github/workflows/check-sdist.yml +++ b/.github/workflows/check-sdist.yml @@ -40,7 +40,7 @@ jobs: ghc-version: ${{ matrix.ghc }} cabal-version: latest - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Make sdist run: cabal sdist cabal-install diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 6219653e4fe..2d2e40f6d1a 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -11,7 +11,7 @@ jobs: validate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: marocchino/validate-dependabot@v3 id: validate diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 11f4c4ce5d2..8cf80766d3f 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -9,7 +9,7 @@ jobs: fourmolu: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: haskell-actions/run-fourmolu@v11 with: version: "0.12.0.0" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 102be090d04..50f726cbacd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: hlint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: haskell-actions/hlint-setup@v2 with: version: "3.10" diff --git a/.github/workflows/quick-jobs.yml b/.github/workflows/quick-jobs.yml index 82c3fbd1244..10e94535566 100644 --- a/.github/workflows/quick-jobs.yml +++ b/.github/workflows/quick-jobs.yml @@ -41,7 +41,7 @@ jobs: cabal --version - name: Update Hackage index run: cabal v2-update - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Generate build plan for correct cache key run: ${{ env.cabal_build }} --dry-run - name: Restore cached dependencies @@ -99,7 +99,7 @@ jobs: restore-keys: linux-store-doctest - name: Update Hackage index run: cabal v2-update - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install doctest run: make doctest-install - name: Doctest @@ -129,7 +129,7 @@ jobs: cabal --version - name: Update Hackage index run: cabal v2-update - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Generate build plan for correct cache key run: ${{ env.cabal_build }} --dry-run - name: Restore cached dependencies @@ -166,7 +166,7 @@ jobs: cabal --version - name: Update Hackage Index run: cabal v2-update - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Check Release with Pinned Hackage run: cabal build all --dry-run --project-file=cabal.release.project - name: Check Release with Latest Hackage diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd4f9368bb7..446ed337a4f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,7 +59,7 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Download artifacts uses: actions/download-artifact@v5 diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml index bab48416a45..98a2d076af0 100644 --- a/.github/workflows/reusable-release.yml +++ b/.github/workflows/reusable-release.yml @@ -140,13 +140,6 @@ jobs: , ARTIFACT: "x86_64-linux-unknown" , ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static" }, - { image: "alpine:3.12" - , installCmd: "apk update && apk add" - , toolRequirements: "${{ needs.tool-output.outputs.apk_tools }}" - , DISTRO: "Unknown" - , ARTIFACT: "x86_64-linux-alpine312" - , ADD_CABAL_ARGS: "--enable-split-sections" - }, { image: "alpine:3.20" , installCmd: "apk update && apk add" , toolRequirements: "${{ needs.tool-output.outputs.apk_tools }}" @@ -168,7 +161,7 @@ jobs: with: cabal: ${{ env.CABAL_VERSION }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -207,7 +200,7 @@ jobs: ADD_CABAL_ARGS: "--enable-split-sections --enable-executable-static" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -248,7 +241,7 @@ jobs: } ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -297,7 +290,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -337,7 +330,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -376,7 +369,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -430,7 +423,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -530,12 +523,6 @@ jobs: , DISTRO: "Unknown" , ARTIFACT: "x86_64-linux-unknown" }, - { image: "alpine:3.12" - , installCmd: "apk update && apk add" - , toolRequirements: "${{ needs.tool-output.outputs.apk_tools }}" - , DISTRO: "Unknown" - , ARTIFACT: "x86_64-linux-alpine312" - }, { image: "alpine:3.20" , installCmd: "apk update && apk add" , toolRequirements: "${{ needs.tool-output.outputs.apk_tools }}" @@ -551,7 +538,7 @@ jobs: run: | ${{ matrix.platform.installCmd }} curl bash git ${{ matrix.platform.toolRequirements }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -596,7 +583,7 @@ jobs: # matrix: # branch: ${{ fromJSON(inputs.branches) }} # steps: -# - uses: actions/checkout@v4 +# - uses: actions/checkout@v5 # with: # ref: ${{ matrix.branch }} # @@ -633,7 +620,7 @@ jobs: } ] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -677,7 +664,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -718,7 +705,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -754,7 +741,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} @@ -803,7 +790,7 @@ jobs: matrix: branch: ${{ fromJSON(inputs.branches) }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ matrix.branch }} diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index ab16dc1bf35..dcd5594b18a 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -18,7 +18,7 @@ jobs: steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - run: | wget -q https://github.com/crate-ci/typos/releases/download/${{ env.TYPOS_VER }}/typos-${{ env.TYPOS_VER }}-${{ env.TYPOS_PLATFORM }}.tar.gz diff --git a/.github/workflows/users-guide.yml b/.github/workflows/users-guide.yml index 64969e427c4..2b95c7800bf 100644 --- a/.github/workflows/users-guide.yml +++ b/.github/workflows/users-guide.yml @@ -47,7 +47,7 @@ jobs: python-version: ['3.10'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index eb239db0bb5..65995f34282 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -112,7 +112,7 @@ jobs: run: | echo "TMP=${{ runner.temp }}" >> "$GITHUB_ENV" - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # See https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#hackage-revisions - name: Add manually supplied allow-newer @@ -263,7 +263,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install prerequisites for old GHCs run: | @@ -314,7 +314,7 @@ jobs: build-alpine: name: Build statically linked using alpine runs-on: ubuntu-latest - container: "alpine:3.19" + container: "alpine:3.20" steps: - name: Install extra dependencies shell: sh @@ -328,7 +328,7 @@ jobs: # that Alpine's git doesn't like. Hack around it. - run: git config --global --add safe.directory $(pwd) - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 # See https://github.com/haskell/cabal/blob/master/CONTRIBUTING.md#hackage-revisions - name: Manually supplied constraints/allow-newer @@ -422,7 +422,7 @@ jobs: run: | echo "TMP=${{ runner.temp }}" >> "$GITHUB_ENV" - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: haskell-actions/setup@v2 id: setup-haskell diff --git a/.github/workflows/whitespace.yml b/.github/workflows/whitespace.yml index a6869a59e3f..95d89f43e48 100644 --- a/.github/workflows/whitespace.yml +++ b/.github/workflows/whitespace.yml @@ -14,7 +14,7 @@ jobs: steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - run: | # no longer using the action because apparently we're supposed to use the Makefile here