Skip to content

Commit

Permalink
WIP CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechkral committed Jan 22, 2024
1 parent fa4d88d commit 679e713
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ jobs:
working-directory: ./examples/docker
run: cargo fmt -- --check

crates-versions:
name: Crates version check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Same version check
run: "[[ `cargo metadata --format-version=1 --no-deps | jq '.packages[].version' | sort -u | wc -l` == 1 ]]"

lints:
name: Lints
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
//! # `cargo-fixture`
//!
//! This the `cargo-fixture` cargo extension, please visit the [GitHub repository](https://github.com/vojtechkral/cargo-fixture) for documentation.
use std::{env, process::ExitCode, sync::Arc};

use anyhow::{bail, Context, Result};
Expand Down

0 comments on commit 679e713

Please sign in to comment.