Add safe request timeout for running actions manager #1233
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check pre-commit hooks | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: read-all | |
jobs: | |
pre-commit-checks: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: >- # v4.1.1 | |
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Install Nix | |
uses: >- # v9 | |
DeterminateSystems/nix-installer-action@cd46bde16ab981b0a7b2dce0574509104543276e | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
nix-installer-tag: v0.16.1 | |
- name: Cache Nix derivations | |
uses: >- # Custom commit, last pinned at 2024-03-03. | |
DeterminateSystems/magic-nix-cache-action@742d8701e54851d2136f71b61d31382a4f4d0788 | |
- name: Run pre-commit hooks | |
run: nix flake check |