diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 935a6a1..3968c6e 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -1,4 +1,9 @@ name: Security audit + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: schedule: - cron: '00 10 * * 3' # 06:00 GMT-4 @@ -11,6 +16,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: wykies/checkout@main - - uses: wykies/install-action@cargo-deny + - uses: taiki-e/install-action@cargo-deny - name: Scan for vulnerabilities run: cargo deny check advisories \ No newline at end of file diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml index fb3074d..cb9dbb4 100644 --- a/.github/workflows/general.yml +++ b/.github/workflows/general.yml @@ -1,10 +1,15 @@ name: Rust +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: push: branches: - main - - develop + - develop + env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d555801..2dbd023 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,11 +1,14 @@ name: Release Build Confirmation +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + on: - push: + push: branches: - main - pull_request: - types: [ opened, synchronize, reopened ] + pull_request: branches: - main env: diff --git a/.github/workflows/semver_check.yml b/.github/workflows/semver_check.yml new file mode 100644 index 0000000..fe75a27 --- /dev/null +++ b/.github/workflows/semver_check.yml @@ -0,0 +1,25 @@ +name: Check Semver + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + push: + branches: + - main + pull_request: + branches: + - main +env: + CARGO_TERM_COLOR: always + + +jobs: + semver-checks: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: wykies/checkout@main + - name: Check semver + uses: obi1kenobi/cargo-semver-checks-action@main