updates to dg_xch_utils package version as well as cult-lite-farmer v… #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build tests | |
on: | |
push: | |
branches: '**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
format: | |
runs-on: | |
- ubuntu-latest | |
if: github.event_name == 'push' | |
name: Check format | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Reconfigure git to use HTTP authentication | |
run: > | |
git config --global url.https://github.com/.insteadOf git@github.com: | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Run Format | |
run: cargo fmt --all -- --check | |
clippy: | |
runs-on: | |
- ubuntu-latest | |
if: github.event_name == 'push' | |
name: Run clippy | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Reconfigure git to use HTTP authentication | |
run: > | |
git config --global url.https://github.com/.insteadOf git@github.com: | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Install Dependencies | |
run: sudo apt update && sudo apt install udev libudev-dev libdbus-1-dev --fix-missing -y | |
- name: Run Clippy | |
run: cargo clippy -- -Dwarnings |