Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsusinn committed Sep 20, 2024
1 parent 31a0596 commit f0ff5f1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,13 @@ jobs:
toolchain: ${{ matrix.toolchain || 'nightly' }}
target: ${{ matrix.target }}
components: ${{ matrix.components || 'rustfmt, clippy' }}

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "23.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set environment variables
run: |
echo "RUSTFLAGS=${RUSTFLAGS}" >> $GITHUB_ENV
Expand All @@ -203,6 +204,13 @@ jobs:
env:
RUSTFLAGS: ${{ matrix.rustflags || '--cfg tokio_unstable' }}

- name: Install cross-rs/cross
uses: clechasseur/rs-cargo@v2
with:
use-cross: false
command: install
args: cross --target ${{ matrix.target }}

- name: Cargo fmt
uses: clechasseur/rs-cargo@v2
with:
Expand Down

0 comments on commit f0ff5f1

Please sign in to comment.