Skip to content

Commit

Permalink
ci: Workflow dependencies pinned using hash values
Browse files Browse the repository at this point in the history
To ensure stability and improve build reproducibility, updated the
dependency repository version from version to a pinned hash.
This approach avoids potential issues caused by moving or deleting
tags and ensures that all environments use the same dependency version.

Signed-off-by: chai min <chaim_yangmq@163.com>
  • Loading branch information
minchai23 authored and freddy77 committed Dec 18, 2024
1 parent 06ec1a4 commit 9ec2f1d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

steps:

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install dependencies
run: |
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Archive test results on failure
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: test-logs
path: |
Expand All @@ -135,7 +135,7 @@ jobs:

steps:

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install dependencies
run: |
Expand All @@ -152,7 +152,7 @@ jobs:
run: make dist

- name: Archive archives
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: dist
path: freetds-*.tar.*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:

steps:

- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0

- uses: ilammy/msvc-dev-cmd@v1
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Install OpenSSL & perf
run: |
Expand Down

0 comments on commit 9ec2f1d

Please sign in to comment.