Skip to content

Commit

Permalink
Refresh all reusable actions to latest version (#81)
Browse files Browse the repository at this point in the history
Signed-off-by: Mihai Maruseac <mihai.maruseac@gmail.com>
  • Loading branch information
mihaimaruseac authored Oct 8, 2023
1 parent 190f6b6 commit 6d865b3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/presubmit-cabal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
fail-fast: false # don't cancel other jobs if one fails
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ghc: ["8.10.7", "9.0.2", "9.2.7", "9.4.5", "9.6.1"]
ghc: [8.10.7, 9.0.2, 9.2.7, 9.4.5, 9.6.1]
steps:
- name: "Checkout code"
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/presubmit-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
# whereas all others (including Cabal ones) barely reach 50MB. Instead,
# we only use nightly as the resolver, as this should handle the newest
# GHC and is also the place where failures will be reported from Stack.
resolver: ["nightly"]
resolver: [nightly]
steps:
- name: "Checkout code"
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
# Keep these in sync with a subset of Cabal-based CI matrix. This way, we
# are not building a new cache here, just reusing an existing one.
env:
os: "ubuntu-latest"
ghc: "9.4.4"
os: ubuntu-latest
ghc: 9.4.4
outputs:
hash_sdist: ${{ steps.hash_sdist.outputs.hash_sdist }}
hash_execs: ${{ steps.hash_execs.outputs.hash_execs }}
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
name: sdist.zip

- name: Upload assets
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
with:
files: ./*

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/scorecards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ jobs:
id-token: write

steps:
- name: "Checkout code"
- name: Checkout code
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0
- name: Run analysis
uses: ossf/scorecard-action@483ef80eb98fb506c348f7d62e28055e49fe2398 # v2.3.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true

- name: "Upload artifact"
- name: Upload artifact
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f31a31c052207cc13b328d6295c5b728bb49568c # v2.13.1
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@2cb752a87e96af96708ab57187ab6372ee1973ab # v2.22.0
with:
sarif_file: results.sarif

0 comments on commit 6d865b3

Please sign in to comment.