diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index cb1289f0..5662f23b 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 0 1 * *" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: c-lint: runs-on: ubuntu-latest diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index db3a9c5a..f151724f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,6 +11,10 @@ # name: "CodeQL" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: [ "master" ] diff --git a/.github/workflows/csharp.yml b/.github/workflows/csharp.yml index 2edd0bb8..b8fb4413 100644 --- a/.github/workflows/csharp.yml +++ b/.github/workflows/csharp.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 0 1 * *" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: csharp: strategy: diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 408957e2..4d42eb6b 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -18,6 +18,10 @@ on: schedule: - cron: '27 15 * * 5' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: eslint: name: Run eslint scanning diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index 9f8498dd..8072b94c 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 0 1 * *" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: javascript: strategy: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 97be24d7..f406f110 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 0 1 * *" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: # python-lint: # runs-on: ubuntu-latest diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index e738996e..749aba83 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -18,6 +18,10 @@ on: schedule: - cron: '32 21 * * 4' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: rust-clippy-analyze: name: Run rust-clippy analyzing diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 984d909f..834af38b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,6 +8,10 @@ on: env: CARGO_TERM_COLOR: always +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_and_test: name: Rust @@ -69,14 +73,14 @@ jobs: - name: rust-grcov if: ${{ matrix.toolchain == 'nightly' }} - run: cargo install grcov && grcov rust --path-mapping rust/mapping.json + run: cargo install grcov && grcov rust --path-mapping rust/mapping.json -o lcov.txt - - name: Setup upterm session - uses: lhotari/action-upterm@v1 - if: ${{ matrix.toolchain == 'nightly' }} - with: - wait-timeout-minutes: 5 - limit-access-to-actor: true + # - name: Setup upterm session + # uses: lhotari/action-upterm@v1 + # if: ${{ matrix.toolchain == 'nightly' }} + # with: + # wait-timeout-minutes: 5 + # limit-access-to-actor: true - name: Upload coverage reports to Codecov if: ${{ matrix.toolchain == 'nightly' }}