Skip to content

add ability to deploy with argo #9

add ability to deploy with argo

add ability to deploy with argo #9

Workflow file for this run

name: Cargo lint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
lint:
name: Run linters
runs-on:
- self-hosted
- dind
- small
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: |
set -xe
sudo apt-get update
sudo apt-get install -y pkg-config libssl-dev
- name: Install rust toolchain with clippy and rustfmt
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "${{ matrix.name }}-lint"
workspaces: |
${{ matrix.path }}
- name: Cargo format and clippy
run: |
set -xe
cargo --version
cargo fmt --all --check
cargo clippy