diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3fde6d6..464d816 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,25 +2,20 @@ name: Rust on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] env: CARGO_TERM_COLOR: always jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Build - run: | - cd lib - cargo build --verbose - - name: Run tests - run: | - cd example - cargo test --verbose + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose