diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f7e6fe..a5eb2be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,13 @@ --- -on: [push, pull_request] +on: + push: + branches: main + pull_request: + paths: + - src/** + - Cargo.toml + - Cargo.lock + - build.rs name: Continuous Integration diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3a1d645..daa4d15 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,10 @@ --- -on: pull_request +on: + pull_request: + paths: + - src/**/*.rs + - build.rs + name: PR Lints jobs: lints: diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 2370bfd..9df4b7a 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -2,6 +2,7 @@ on: push: branches: main + workflow_call: name: Nightly Release @@ -58,7 +59,7 @@ jobs: SHA: ${{ steps.short-sha.outputs.sha }} - name: Remove previous Nightly Release - uses: dev-drprasad/delete-tag-and-release@v0.2.0 + uses: dev-drprasad/delete-tag-and-release@v1.0.1 with: delete_release: true tag_name: nightly