diff --git a/.github/workflows/embd_check.yml b/.github/workflows/embd_check.yml new file mode 100644 index 0000000..87f9750 --- /dev/null +++ b/.github/workflows/embd_check.yml @@ -0,0 +1,22 @@ +name: Embd Check + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-22.04 + + steps: + - uses: actions/checkout@v6 + with: + lfs: true + - name: run embd status + run: cargo run -r -- status diff --git a/infra/README.md b/infra/README.md index 62b67aa..8df62f5 100644 --- a/infra/README.md +++ b/infra/README.md @@ -2,6 +2,8 @@ This repo is a set of re-usable components for projects of different languages. It's intended to be included in other projects with [embd](https://www.github.com/ptsouchlos/embd). +Edit + ## Author | [
@ptsouchlos](https://github.com/ptsouchlos) | diff --git a/infra/rust/just/clippy.just b/infra/rust/just/clippy.just index 8977f6c..5b90d2b 100644 --- a/infra/rust/just/clippy.just +++ b/infra/rust/just/clippy.just @@ -2,3 +2,6 @@ [group('dev')] lint: cargo clippy --all --tests -- -D warnings + +echo: + echo "Run 'just lint' to run clippy" diff --git a/infra/rust/just/format.just b/infra/rust/just/format.just index 2738e2a..71938a8 100644 --- a/infra/rust/just/format.just +++ b/infra/rust/just/format.just @@ -2,3 +2,6 @@ [group('dev')] format: cargo fmt --all + +fmt-echo: + echo "Run 'just lint' to run clippy" diff --git a/infra/rust/just/shells.just b/infra/rust/just/shells.just index e210db3..d5379f4 100644 --- a/infra/rust/just/shells.just +++ b/infra/rust/just/shells.just @@ -1,2 +1,5 @@ set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"] set shell := ["bash", "-c"] + +shls-echo: + echo "Run 'just lint' to run clippy"