Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit df067f9

Browse files
author
Hendrik van Antwerpen
committed
Add permissions and update actions versions
1 parent ad281b5 commit df067f9

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/bazel.yml.disabled

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ on:
88
- master
99
pull_request: {}
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316
name: Bazel
1417
runs-on: ubuntu-latest
1518

1619
steps:
17-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
1821
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
1922

20-
- uses: actions/cache@v2
23+
- uses: actions/cache@v4
2124
id: caching-stage
2225
name: Cache Bazel artifacts
2326
with:

.github/workflows/haskell.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- master
99
pull_request:
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
build:
1316
name: ghc ${{ matrix.ghc }}
@@ -17,15 +20,15 @@ jobs:
1720
ghc: ["8.10", "9.2"]
1821

1922
steps:
20-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2124
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
2225

23-
- uses: haskell/actions/setup@v1
26+
- uses: haskell-actions/setup@d9b5b3fcf7ca56b8fe585c9b77d3b0ce466affd2 # v2.7.10
2427
name: Setup Haskell
2528
with:
2629
ghc-version: ${{ matrix.ghc }}
2730

28-
- uses: actions/cache@v1
31+
- uses: actions/cache@v4
2932
id: cache-cabal
3033
name: Cache Cabal artifacts
3134
with:

0 commit comments

Comments
 (0)