From 51c7d23f8d506e46c435a8c9a62c92c542597047 Mon Sep 17 00:00:00 2001 From: DeveloperC Date: Tue, 7 Jan 2025 22:28:22 +0000 Subject: [PATCH] ci: pinning actions/checkout at v4.2.2 --- .github/workflows/continuous-integration.yml | 8 ++++---- .github/workflows/conventional-commits.yml | 2 +- .github/workflows/git-history.yml | 2 +- .github/workflows/github-actions-workflows.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e7288189..4cc2979c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -19,7 +19,7 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Check formatting. run: earthly --ci +check-${{ matrix.language }}-formatting linting: @@ -34,7 +34,7 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Check linting. run: earthly --ci +check-${{ matrix.language }}-linting compile: @@ -46,7 +46,7 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Compile. run: earthly --ci +compile unit-test: @@ -58,6 +58,6 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Unit test. run: earthly --ci +unit-test diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 2cac8996..0c5017eb 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -16,7 +16,7 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/git-history.yml b/.github/workflows/git-history.yml index c14e19bf..871f4d78 100644 --- a/.github/workflows/git-history.yml +++ b/.github/workflows/git-history.yml @@ -16,7 +16,7 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/github-actions-workflows.yml b/.github/workflows/github-actions-workflows.yml index 7caf5afd..95bc61c4 100644 --- a/.github/workflows/github-actions-workflows.yml +++ b/.github/workflows/github-actions-workflows.yml @@ -16,7 +16,7 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Check GitHub Actions workflows linting. run: earthly +check-github-actions-workflows-linting formatting: @@ -28,6 +28,6 @@ jobs: with: version: v0.8.15 - name: Checkout code. - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Check formatting. run: earthly +check-yaml-formatting