diff --git a/.github/workflows/build.yml b/.github/workflows/test.yml similarity index 51% rename from .github/workflows/build.yml rename to .github/workflows/test.yml index d301a22..fcf10ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Build +name: Build and Test on: pull_request: @@ -9,10 +9,10 @@ env: CARGO_INCREMENTAL: 0 jobs: - build: + test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - run: sudo apt-get install -y capnproto - - run: rustup update - - run: cargo build + - uses: actions/checkout@v4 + - run: sudo apt-get install -y capnproto + - run: rustup update + - run: cargo test