From d3fdb549c8332dd472b1f000eafb9e61a411ce98 Mon Sep 17 00:00:00 2001 From: Yoo Chung Date: Thu, 12 Nov 2026 21:33:44 +0000 Subject: [PATCH 1/2] Update GitHub actions. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 258fc871..d027f611 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,12 +20,12 @@ jobs: - ghc: '8.6.5' cabal: '3.4' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v7 # need to install older cabal/ghc versions from ppa repository - name: Install recent cabal/ghc - uses: haskell/actions/setup@v1 + uses: haskell-actions/setup@v2 with: ghc-version: ${{ matrix.versions.ghc }} cabal-version: ${{ matrix.versions.cabal }} @@ -36,7 +36,7 @@ jobs: - name: Cache cabal global package db id: cabal-global - uses: actions/cache@v2 + uses: actions/cache@v6 with: path: | ~/.cabal @@ -44,7 +44,7 @@ jobs: - name: Cache cabal work id: cabal-local - uses: actions/cache@v2 + uses: actions/cache@v6 with: path: | dist-newstyle From 835dbf65635f75aff9b477684b6e87d27154b6c8 Mon Sep 17 00:00:00 2001 From: Yoo Chung Date: Thu, 12 Nov 2026 21:47:44 +0000 Subject: [PATCH 2/2] Pin GitHub actions. --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d027f611..47590e78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,14 @@ on: pull_request: paths-ignore: [] +permissions: {} + jobs: linux: runs-on: 'ubuntu-24.04' + permissions: + contents: read strategy: fail-fast: false matrix: @@ -20,12 +24,12 @@ jobs: - ghc: '8.6.5' cabal: '3.4' steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # need to install older cabal/ghc versions from ppa repository - name: Install recent cabal/ghc - uses: haskell-actions/setup@v2 + uses: haskell-actions/setup@0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d # v2.12.1 with: ghc-version: ${{ matrix.versions.ghc }} cabal-version: ${{ matrix.versions.cabal }} @@ -36,7 +40,7 @@ jobs: - name: Cache cabal global package db id: cabal-global - uses: actions/cache@v6 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: | ~/.cabal @@ -44,7 +48,7 @@ jobs: - name: Cache cabal work id: cabal-local - uses: actions/cache@v6 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: | dist-newstyle