From f81099285b3cfbcc60ea79a918edf2b24c1b6dc0 Mon Sep 17 00:00:00 2001 From: nadzyah Date: Wed, 31 Jan 2024 11:40:08 +0200 Subject: [PATCH] Update action --- .github/workflows/test_client_lib.yaml | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/test_client_lib.yaml diff --git a/.github/workflows/test_client_lib.yaml b/.github/workflows/test_client_lib.yaml new file mode 100644 index 00000000..3107086b --- /dev/null +++ b/.github/workflows/test_client_lib.yaml @@ -0,0 +1,34 @@ +name: Test client lib and CLI tool +on: [push] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + + +jobs: + linting: + runs-on: [self-hosted, linux, large] + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y pkg-config libssl-dev + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: check + - run: rustup component add rustfmt + - uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features --verbose + name: Clippy Output