From fb8e71b57e979d78a73f661672556137f077dfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cilhanu=E2=80=9D?= Date: Tue, 29 Aug 2023 13:52:16 +0200 Subject: [PATCH] change cargo check ci --- .github/workflows/check.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6a827da4..edefbbb8 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,19 +20,13 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Set-Up - run: sudo apt install -y git clang curl libssl-dev llvm libudev-dev protobuf-compiler + - name: Install linux dependencies + run: sudo apt-get install -y clang libssl-dev llvm libudev-dev protobuf-compiler - - name: Install Rustup - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - source ~/.cargo/env - rustup default stable - rustup update nightly - rustup update stable - rustup target add wasm32-unknown-unknown --toolchain nightly + # Rust cache + - uses: Swatinem/rust-cache@v2 - name: Check Build run: |