From 56f8df1d2b2697ad1e7305fe186cb6dafa82893c Mon Sep 17 00:00:00 2001 From: Daniil Polyakov Date: Wed, 17 Dec 2025 20:43:40 +0300 Subject: [PATCH] fix: add ref to CI checkout action --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d8b3f2..21c73d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - name: Install nightly toolchain for rustfmt run: rustup install nightly --profile minimal --component rustfmt @@ -29,6 +31,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - name: Install taplo-cli run: cargo install --locked taplo-cli @@ -40,6 +44,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - name: Install active toolchain run: rustup install @@ -57,6 +63,8 @@ jobs: name: lint steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - uses: ./.github/actions/install-system-deps @@ -80,6 +88,8 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - uses: ./.github/actions/install-system-deps @@ -101,6 +111,8 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - uses: ./.github/actions/install-system-deps @@ -120,6 +132,8 @@ jobs: timeout-minutes: 120 steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - uses: ./.github/actions/install-system-deps @@ -142,6 +156,8 @@ jobs: name: artifacts steps: - uses: actions/checkout@v5 + with: + ref: ${{ github.head_ref }} - uses: ./.github/actions/install-risc0