Skip to content

Commit 66a94e3

Browse files
authored
Merge pull request #268 from EmixamPP/chore/deps
chore(deps): update all deps to latest
2 parents e7a48ef + 02bc625 commit 66a94e3

4 files changed

Lines changed: 752 additions & 168 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@ jobs:
6666
# TODO: rustup target add aarch64-unknown-linux-gnu
6767
# Linting tools
6868
cargo install cargo-shear
69-
cargo fetch --locked
69+
cargo fetch
7070
7171
- name: Build
7272
id: build
7373
if: always()
74-
run: cargo build --profile ${{ env.build-type }} --locked
74+
run: cargo build --profile ${{ env.build-type }}
7575

7676
- name: Tests
7777
id: tests
7878
if: always()
79-
run: cargo test --profile ${{ env.build-type }} --locked
79+
run: cargo test --profile ${{ env.build-type }}
8080

8181
- name: Clippy
8282
id: clippy
8383
if: always()
84-
run: cargo clippy --profile ${{ env.build-type }} --no-deps --locked -- --deny warnings
84+
run: cargo clippy --profile ${{ env.build-type }} --no-deps -- --deny warnings
8585

8686
- name: Format
8787
id: format
@@ -93,7 +93,7 @@ jobs:
9393
if: always()
9494
env:
9595
CARGO_BUILD_RUSTDOCFLAGS: "--deny warnings"
96-
run: cargo doc --profile ${{ env.build-type }} --document-private-items --no-deps --locked
96+
run: cargo doc --profile ${{ env.build-type }} --document-private-items --no-deps
9797

9898
- name: Shear
9999
if: always()
@@ -114,16 +114,16 @@ jobs:
114114
fi
115115
116116
artifact_x86=linux-enable-ir-emitter-${version}-${buildtype}-x86-64.tar.gz
117-
echo "ARTIFACT_X86=$artifact_x86" >> "$GITHUB_ENV"
117+
echo "ARTIFACT_X86=$artifact_x86" >> "$GITHUB_OUTPUT"
118118
tar -czvf ${artifact_x86} -C target/${buildtype} linux-enable-ir-emitter
119119
120120
- name: Upload x86
121121
id: upload-x86
122122
if: ${{ steps.build.outcome == 'success' }}
123123
uses: actions/upload-artifact@v6
124124
with:
125-
name: ${{ env.ARTIFACT_X86 }}
126-
path: ${{ env.ARTIFACT_X86 }}
125+
name: ${{ steps.create-artifacts.outputs.ARTIFACT_X86 }}
126+
path: ${{ steps.create-artifacts.outputs.ARTIFACT_X86 }}
127127
if-no-files-found: error
128128

129129
- name: Save cached cargo dependencies

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@ jobs:
1616
MESSAGE_FILE: ./message.md
1717
steps:
1818
- name: Check if in PR
19-
uses: insurgent-lab/is-in-pr-action@v0.2.0
20-
id: is-pr
19+
id: pr-number
20+
env:
21+
GH_TOKEN: ${{ github.token }}
22+
run: |
23+
pr_number=$(gh pr view --json number -q .number || echo '')
24+
echo "PR_NUMBER=$pr_number" >> $GITHUB_OUTPUT
2125
2226
- name: Create PR comment
2327
id: create-comment
24-
if: ${{ steps.is-pr.outputs.result == 'true' }}
28+
if: ${{ steps.pr-number.outputs.PR_NUMBER != '' }}
2529
run: |
2630
function outcome_emoji() {
2731
if [ "$1" == "success" ]; then
@@ -59,3 +63,4 @@ jobs:
5963
comment-tag: bot_comment
6064
mode: recreate
6165
file-path: ${{ env.MESSAGE_FILE }}
66+
pr-number: ${{ steps.pr-number.outputs.PR_NUMBER }}

0 commit comments

Comments
 (0)