Skip to content

Commit

Permalink
fix(actions): 🚨 fix shellcheck warnings in workflow
Browse files Browse the repository at this point in the history
The warnings can be checked by actionlint.
  • Loading branch information
Jisu-Woniu committed Jan 9, 2025
1 parent bfc6ac0 commit 92928b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
uses: mozilla-actions/[email protected]
- name: Enable sccache
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
- name: Lint protobuf files
uses: bufbuild/buf-lint-action@v1
- name: Run clippy lint
Expand Down Expand Up @@ -124,8 +124,8 @@ jobs:
uses: mozilla-actions/[email protected]
- name: Enable sccache
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
- name: Build Debian package
run: cargo xtask dist deb && dpkg-deb -c target/debian/*.deb
- name: Lint Debian package
Expand Down Expand Up @@ -158,8 +158,8 @@ jobs:
uses: mozilla-actions/[email protected]
- name: Enable sccache
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
- name: Build RPM package
run: cargo xtask dist rpm && rpm -qlp target/generate-rpm/*.rpm
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 92928b2

Please sign in to comment.