Skip to content
Closed
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
6 changes: 6 additions & 0 deletions .github/pinact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 3

# TODO: Remove ignore once we have a global token to check private github actions.
ignore_actions:
- name: MercuryTechnologies/mercury-github-actions/pinact-check
ref: "aa5ebb17717cc3279eb4f9f8f7386d746246037f"
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository code
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Install nix
uses: cachix/install-nix-action@v22
uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac # v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: enter-shell
Expand All @@ -34,9 +34,9 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
# ormolu-0.5.0.1
- uses: mrkkrp/ormolu-action@v14
- uses: mrkkrp/ormolu-action@01e83f5d20f21a120aa5646f224d80032768765b # v14
with:
version: 0.5.0.1
extra-args: --no-cabal -o -XGHC2021
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Set up Python
uses: actions/[email protected]
uses: actions/setup-python@5ccb29d8773c3f3f653e1705f474dfaa8a06a912 # v4.4.0
with:
python-version: 3.11.0
- name: Install dependencies
Expand All @@ -36,7 +36,7 @@ jobs:
git config --local user.name "GitHub Action"
git commit -m 'deploy'
- name: Force push to destination branch
uses: ad-m/[email protected]
uses: ad-m/github-push-action@40bf560936a8022e68a3c00e7d2abefaf01305a6 # v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/pinact-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Check that actions are pinned to hashes

on:
pull_request:
push:
branches:
- main

jobs:
check-pinact:
name: Run pinact check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: MercuryTechnologies/mercury-github-actions/pinact-check@aa5ebb17717cc3279eb4f9f8f7386d746246037f # v0.0.26
Loading