Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ jobs:
fi

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@02cb101ec7c40f2c49e1d9714d64511d8e1b74de # v1
with:
toolchain: stable
targets: i686-unknown-linux-gnu,i686-pc-windows-msvc

- name: Install cross-compilation tools
Expand Down Expand Up @@ -116,7 +117,7 @@ jobs:
cat release_body.md

- name: Upload release assets
uses: softprops/action-gh-release@v3
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
with:
body_path: release_body.md
append_body: true
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust (stable + clippy)
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@02cb101ec7c40f2c49e1d9714d64511d8e1b74de # v1
with:
toolchain: stable
targets: i686-unknown-linux-gnu
components: clippy

Expand All @@ -33,7 +34,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib

- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2

- name: Build
run: cargo build --target i686-unknown-linux-gnu --verbose
Expand All @@ -52,8 +53,9 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Install Rust (stable + rustfmt)
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@02cb101ec7c40f2c49e1d9714d64511d8e1b74de # v1
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all -- --check

Expand All @@ -69,7 +71,7 @@ jobs:
checks: write
steps:
- uses: actions/checkout@v7
- uses: rustsec/audit-check@v2
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 # v2.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -82,8 +84,9 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust (stable + llvm-tools)
uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@02cb101ec7c40f2c49e1d9714d64511d8e1b74de # v1
with:
toolchain: stable
targets: i686-unknown-linux-gnu
components: llvm-tools-preview

Expand All @@ -92,10 +95,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y gcc-multilib g++-multilib

- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
uses: taiki-e/install-action@94c31af3204a9f15ab40b35ad084410b905bbc73 # v2.87.17
with:
tool: cargo-llvm-cov

- name: Generate LCOV report
run: cargo llvm-cov --target i686-unknown-linux-gnu --lcov --output-path lcov.info
Expand Down
Loading