diff --git a/.cargo-old/config b/.cargo-old/config new file mode 100644 index 0000000..c91c3f3 --- /dev/null +++ b/.cargo-old/config @@ -0,0 +1,2 @@ +[net] +git-fetch-with-cli = true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1f1d11c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Cargo Build & Test + +on: + push: + branches: + - dev + - main + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: Rust project - latest + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - stable + # - beta + # - nightly + # disable other toolchains to save on github runners + steps: + #- uses: arduino/setup-protoc@v2 + - uses: actions/checkout@v3 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - run: cargo build --verbose + - run: cargo test --verbose diff --git a/Cargo.toml b/Cargo.toml index 59949b7..88d5b81 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.2.0" edition = "2021" [dependencies] -codemp = { path = "../.." } +codemp = { git = "ssh://git@github.com/codewithotherpeopleandchangenamelater/codemp.git", tag = "v0.3" } tracing = "0.1" tracing-subscriber = "0.3" uuid = { version = "1.3.1", features = ["v4"] }