Skip to content

Commit

Permalink
added concurrency lock
Browse files Browse the repository at this point in the history
  • Loading branch information
mkatychev committed Mar 26, 2024
1 parent b9fb069 commit cf8cfc6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ on:
branches:
- master
- dev

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
CARGO_TERM_COLOR: always
GRPCURLV: "1.8.1"

jobs:
lint:
name: rustfmt
Expand All @@ -33,9 +40,7 @@ jobs:
with:
submodules: recursive
- name: install nextest
run: |
mkdir -p ~/.cargo/bin
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C "${CARGO_HOME:-~/.cargo}/bin"
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C /usr/local/bin
- run: cargo nextest run
examples:
name: examples
Expand Down

0 comments on commit cf8cfc6

Please sign in to comment.