diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index fde9cb1..7f3fcbc 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,11 +1,4 @@ name: Checks -on: - push: - branches: - - main - pull_request: - branches: - - main env: CACHE_VERSION: 0 @@ -17,6 +10,14 @@ env: RUST_BACKTRACE: full +on: + push: + branches: + - main + pull_request: + branches: + - main + jobs: cargo-checks: name: Task cargo ${{ matrix.action }} diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 90ca1e1..b96960d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,5 +1,8 @@ name: Pages +env: + CARGO_TERM_COLOR: always + on: push: branches: @@ -8,9 +11,6 @@ on: branches: - main -env: - CARGO_TERM_COLOR: always - jobs: deploy: name: Deploy pages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e85a921..183092c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,13 @@ name: Release + +env: + CARGO_TERM_COLOR: always + on: push: tags: - "v[0-9]+.[0-9]+.[0-9]+" -env: - CARGO_TERM_COLOR: always - jobs: build: name: Build ${{ matrix.target.name }} package diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index ef8fbfd..a817b80 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -1,10 +1,11 @@ name: Staging -on: - workflow_dispatch: env: CARGO_TERM_COLOR: always +on: + workflow_dispatch: + jobs: build: name: Build ${{ matrix.target.name }} package