Output azure-init.log
to Configurable Location
#442
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: "Run CI" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-test: | |
name: Build and test azure-init | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust-toolchain: [stable, stable 12 months ago] | |
steps: | |
- name: Install libudev | |
run: | | |
sudo apt update | |
sudo apt install -y libudev-dev | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{matrix.rust-toolchain}} | |
components: clippy, rustfmt | |
- name: Rustfmt Check | |
run: cargo fmt --all --check | |
- name: Build azure-init | |
run: cargo build --verbose | |
- name: Run unit tests | |
run: cargo test --verbose --all-features --workspace | |
- name: Run clippy | |
run: cargo clippy --verbose -- --deny warnings |