diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 46a8d6b..38505e1 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -3,26 +3,28 @@ name: Build and test on: push: branches: [ master ] - paths-ignore: &paths - - "docs/**" - - "settings.sample.yaml" - - "README.md" - - "LICENSE" + paths-ignore: + - "docs/**" + - "settings.sample.yaml" + - "README.md" + - "LICENSE" pull_request: branches: [ master ] - paths-ignore: *paths + paths-ignore: + - "docs/**" + - "settings.sample.yaml" + - "README.md" + - "LICENSE" env: CARGO_TERM_COLOR: always jobs: build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose + - uses: actions/checkout@v2 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose