From 3ec4d1c125f29d486909208a5999b89e4cf6a1fe Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Fri, 9 Jul 2021 20:59:23 -0400 Subject: [PATCH] remove anchor from github workflows --- .github/workflows/build_and_test.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) 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