diff --git a/.github/workflows/cachix.yaml b/.github/workflows/cachix.yaml index 071d08ac2e..cd3380fac6 100644 --- a/.github/workflows/cachix.yaml +++ b/.github/workflows/cachix.yaml @@ -28,7 +28,7 @@ jobs: name: Seed ${{ matrix.os }} runs-on: ${{ matrix.runs-on }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix with: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 581fa5765f..ba22b5cb97 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: name: Lint & check code style runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix with: @@ -37,7 +37,7 @@ jobs: # https://github.com/actions/runner/issues/241#issuecomment-842566950 shell: script -qec "bash --noprofile --norc -eo pipefail {0}" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix with: @@ -73,7 +73,7 @@ jobs: # https://github.com/actions/runner/issues/241#issuecomment-842566950 shell: script -qec "bash --noprofile --norc -eo pipefail {0}" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix with: @@ -92,7 +92,7 @@ jobs: name: Test memory (Nix) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix with: @@ -105,7 +105,7 @@ jobs: name: Build Linux static (Nix) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix with: @@ -136,7 +136,7 @@ jobs: name: Build MacOS (Nix) runs-on: macos-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix @@ -176,7 +176,7 @@ jobs: name: Build ${{ matrix.name }} (Stack) runs-on: ${{ matrix.runs-on }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Stack working files cache uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 with: @@ -200,7 +200,7 @@ jobs: name: Get FreeBSD build from CirrusCI runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Get FreeBSD executable from CirrusCI env: # GITHUB_SHA does weird things for pull request, so we roll our own: @@ -222,7 +222,7 @@ jobs: name: Build Linux (Cabal, GHC ${{ matrix.ghc }}) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Workaround runner image issue # https://github.com/actions/runner-images/issues/7061 run: sudo chown -R "$USER" /usr/local/.ghcup @@ -261,7 +261,7 @@ jobs: GITHUB_COMMIT: ${{ github.sha }} GHC_VERSION: ${{ matrix.ghc }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - id: Remote-Dir name: Unique directory name for the remote build run: echo "remotepath=postgrest-build-$(uuidgen)" >> "$GITHUB_OUTPUT" @@ -325,7 +325,7 @@ jobs: version: ${{ steps.Identify-Version.outputs.version }} isprerelease: ${{ steps.Identify-Version.outputs.isprerelease }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - id: Identify-Version name: Identify the version to be released run: | @@ -378,7 +378,7 @@ jobs: env: VERSION: ${{ needs.Prepare-Release.outputs.version }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Download all artifacts uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4 with: @@ -443,7 +443,7 @@ jobs: VERSION: ${{ needs.Prepare-Release.outputs.version }} ISPRERELEASE: ${{ needs.Prepare-Release.outputs.isprerelease }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix with: @@ -496,7 +496,7 @@ jobs: VERSION: ${{ needs.Prepare-Release.outputs.version }} ISPRERELEASE: ${{ needs.Prepare-Release.outputs.isprerelease }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Publish images for ARM builds on Docker Hub uses: appleboy/ssh-action@master env: @@ -523,7 +523,7 @@ jobs: env: REMOTE_DIR: ${{ needs.Build-Cabal-Arm.outputs.remotepath }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Remove uploaded files from server uses: appleboy/ssh-action@master with: diff --git a/.github/workflows/loadtest.yaml b/.github/workflows/loadtest.yaml index 26146dc9e6..5e773c325c 100644 --- a/.github/workflows/loadtest.yaml +++ b/.github/workflows/loadtest.yaml @@ -15,7 +15,7 @@ jobs: name: Loadtest (Nix) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 - name: Setup Nix Environment diff --git a/.github/workflows/report.yaml b/.github/workflows/report.yaml index ce5782b56f..08c5e06182 100644 --- a/.github/workflows/report.yaml +++ b/.github/workflows/report.yaml @@ -15,7 +15,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: Download from Artifacts - uses: dawidd6/action-download-artifact@v2 + uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # v2 with: workflow: ${{ github.event.workflow.name }} run_id: ${{github.event.workflow_run.id }} diff --git a/docs/requirements.txt b/docs/requirements.txt index 4f76b0480b..fe1b2b0104 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,6 @@ -docutils==0.16 +docutils==0.20.1 sphinx>=4.3.0 sphinx-copybutton sphinx-rtd-theme>=0.5.1 sphinx-tabs -urllib3==2.0.2 +urllib3==2.2.1 diff --git a/nix/Dockerfile b/nix/Dockerfile index 99fefa87c6..526ffe644e 100644 --- a/nix/Dockerfile +++ b/nix/Dockerfile @@ -1,7 +1,7 @@ # This Dockerfile is only used as a development environment for # non-nix systems, i.e. Windows. -FROM nixos/nix:latest +FROM nixos/nix:latest@sha256:273671b9032d06844ec073affa9fb1e75bf7ad863975bec5143e7fa417929fb8 RUN apk --no-cache add \ wget