Skip to content

Commit 80c1e6b

Browse files
committed
refactor: use sha-1 for workflows version
- Deleted the check_bun.py script, which was used to fetch the latest versions of the Bun package. - Updated CI workflows to use specific versions of actions for consistency and reliability. - Adjusted the release workflow to ensure compatibility with the latest Bun setup. This commit streamlines the project by removing unnecessary scripts and ensuring CI workflows are up-to-date.
1 parent 7981abd commit 80c1e6b

File tree

3 files changed

+6
-143
lines changed

3 files changed

+6
-143
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
# # ./merge_lcov.sh src merged.lcov
3636

3737
- name: Coverage Badge
38-
uses: ImBIOS/lcov-coverage-badge@v1
38+
uses: ImBIOS/lcov-coverage-badge@b548b874a74d1c0bb832498745ff98ccb6a81430
3939
with:
4040
file: ./coverage.lcov
4141

4242
- name: Verify Changed files
43-
uses: tj-actions/verify-changed-files@v20
43+
uses: tj-actions/verify-changed-files@4616eed12cee617b16fa9d0ef524f883d2a48a48
4444
id: verify-changed-files
4545
with:
4646
files: "coverage.svg"
@@ -55,7 +55,7 @@ jobs:
5555
5656
- name: Push changes
5757
if: steps.verify-changed-files.outputs.files_changed == 'true'
58-
uses: ad-m/github-push-action@master
58+
uses: ad-m/github-push-action@77c5b412c50b723d2a4fbc6d71fb5723bcd439aa
5959
with:
6060
github_token: ${{ secrets.github_token }}
6161
branch: ${{ github.ref }}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Checkout code
4343
uses: actions/checkout@v4
4444

45-
- uses: oven-sh/setup-bun@v2
45+
- uses: oven-sh/setup-bun@635640504f6d7197d3bb29876a652f671028dc97
4646
- run: bun install
4747

4848
- name: Check for new releases of nodejs and bun
@@ -61,7 +61,7 @@ jobs:
6161
username: ${{ secrets.DOCKER_USERNAME }}
6262
password: ${{ secrets.DOCKER_TOKEN }}
6363

64-
- uses: nick-fields/retry@v3
64+
- uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08
6565
name: Build and push Docker images
6666
with:
6767
timeout_minutes: 60
@@ -84,7 +84,7 @@ jobs:
8484
- name: Pull changes
8585
run: git pull -r
8686
- name: Push changes
87-
uses: ad-m/github-push-action@master
87+
uses: ad-m/github-push-action@77c5b412c50b723d2a4fbc6d71fb5723bcd439aa
8888
with:
8989
github_token: ${{ secrets.GITHUB_TOKEN }}
9090
rerun-failed-jobs:

check_bun.py

Lines changed: 0 additions & 137 deletions
This file was deleted.

0 commit comments

Comments
 (0)