Skip to content

Commit 8c7dc14

Browse files
Merge pull request #75 from coval-ai/chore/update-github-actions-node24
chore: update GitHub actions runtime
2 parents 62fdcfa + 79f0ace commit 8c7dc14

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
check:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

1818
- uses: dtolnay/rust-toolchain@stable
1919
with:
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ${{ matrix.os }}
5555

5656
steps:
57-
- uses: actions/checkout@v4
57+
- uses: actions/checkout@v6
5858

5959
- uses: dtolnay/rust-toolchain@stable
6060
with:
@@ -76,7 +76,7 @@ jobs:
7676
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
7777

7878
- name: Upload artifact
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@v7
8080
with:
8181
name: ${{ matrix.artifact }}
8282
path: |

.github/workflows/release.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ${{ matrix.os }}
3838

3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v6
4141

4242
- uses: dtolnay/rust-toolchain@stable
4343
with:
@@ -65,7 +65,7 @@ jobs:
6565
tar -czvf ../../../${{ matrix.artifact }}.tar.gz ${{ matrix.binary }}
6666
6767
- name: Upload artifact
68-
uses: actions/upload-artifact@v4
68+
uses: actions/upload-artifact@v7
6969
with:
7070
name: ${{ matrix.artifact }}
7171
path: ${{ matrix.artifact }}.tar.gz
@@ -77,23 +77,23 @@ jobs:
7777
contents: write
7878

7979
steps:
80-
- uses: actions/checkout@v4
80+
- uses: actions/checkout@v6
8181

8282
- name: Download artifacts
83-
uses: actions/download-artifact@v4
83+
uses: actions/download-artifact@v8
8484
with:
8585
path: artifacts
8686

8787
- name: Generate checksums
8888
run: |
8989
cd artifacts
9090
for dir in */; do
91-
(cd "$dir" && sha256sum *.tar.gz > SHA256SUMS)
91+
(cd "$dir" && sha256sum -- *.tar.gz > SHA256SUMS)
9292
done
93-
cat */SHA256SUMS > ../SHA256SUMS
93+
cat -- */SHA256SUMS > ../SHA256SUMS
9494
9595
- name: Create release
96-
uses: softprops/action-gh-release@v1
96+
uses: softprops/action-gh-release@v3
9797
with:
9898
files: |
9999
artifacts/*/*.tar.gz
@@ -120,10 +120,12 @@ jobs:
120120
- name: Parse checksums
121121
id: sha
122122
run: |
123-
echo "macos_arm64=$(grep 'coval-macos-arm64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
124-
echo "macos_x64=$(grep 'coval-macos-x64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
125-
echo "linux_arm64=$(grep 'coval-linux-arm64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
126-
echo "linux_x64=$(grep 'coval-linux-x64' SHA256SUMS | awk '{print $1}')" >> "$GITHUB_OUTPUT"
123+
{
124+
echo "macos_arm64=$(grep 'coval-macos-arm64' SHA256SUMS | awk '{print $1}')"
125+
echo "macos_x64=$(grep 'coval-macos-x64' SHA256SUMS | awk '{print $1}')"
126+
echo "linux_arm64=$(grep 'coval-linux-arm64' SHA256SUMS | awk '{print $1}')"
127+
echo "linux_x64=$(grep 'coval-linux-x64' SHA256SUMS | awk '{print $1}')"
128+
} >> "$GITHUB_OUTPUT"
127129
128130
- name: Update Homebrew tap
129131
env:

0 commit comments

Comments
 (0)