From 3d92586e33743dd31d56c9069d1114d14ac5fc4f Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Sat, 20 Apr 2024 15:52:58 +0100 Subject: [PATCH] Update CI script --- .github/workflows/rust.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c13d1b..277438a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,10 +1,23 @@ name: Rust on: - push: - branches: [ master ] pull_request: - branches: [ master ] + paths-ignore: + - '**.md' + - '.github/ISSUE_TEMPLATE/**' + push: + paths-ignore: + - '**.md' + - '.github/ISSUE_TEMPLATE/**' + branches: + - master + - 0.*.x + - pr/**/ci + - ci-* + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }} + cancel-in-progress: true env: CARGO_TERM_COLOR: always