mirror of https://github.com/fafhrd91/actix-web
Compare commits
5 Commits
930d47d1ca
...
72d4b6954c
Author | SHA1 | Date |
---|---|---|
|
72d4b6954c | |
|
3f9d88f859 | |
|
2eb801cb59 | |
|
a7c5366503 | |
|
270bbf1906 |
|
@ -49,7 +49,7 @@ jobs:
|
|||
toolchain: ${{ matrix.version.version }}
|
||||
|
||||
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
|
||||
uses: taiki-e/install-action@v2.54.0
|
||||
uses: taiki-e/install-action@v2.54.3
|
||||
with:
|
||||
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
|
||||
|
||||
|
@ -83,7 +83,7 @@ jobs:
|
|||
uses: actions-rust-lang/setup-rust-toolchain@v1.13.0
|
||||
|
||||
- name: Install just, cargo-hack
|
||||
uses: taiki-e/install-action@v2.54.0
|
||||
uses: taiki-e/install-action@v2.54.3
|
||||
with:
|
||||
tool: just,cargo-hack
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
toolchain: ${{ matrix.version.version }}
|
||||
|
||||
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
|
||||
uses: taiki-e/install-action@v2.54.0
|
||||
uses: taiki-e/install-action@v2.54.3
|
||||
with:
|
||||
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
|
||||
|
||||
|
@ -113,7 +113,7 @@ jobs:
|
|||
toolchain: nightly
|
||||
|
||||
- name: Install just
|
||||
uses: taiki-e/install-action@v2.54.0
|
||||
uses: taiki-e/install-action@v2.54.3
|
||||
with:
|
||||
tool: just
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
components: llvm-tools
|
||||
|
||||
- name: Install just, cargo-llvm-cov, cargo-nextest
|
||||
uses: taiki-e/install-action@v2.54.0
|
||||
uses: taiki-e/install-action@v2.54.3
|
||||
with:
|
||||
tool: just,cargo-llvm-cov,cargo-nextest
|
||||
|
||||
|
|
|
@ -77,12 +77,12 @@ jobs:
|
|||
toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
|
||||
|
||||
- name: Install just
|
||||
uses: taiki-e/install-action@v2.54.0
|
||||
uses: taiki-e/install-action@v2.54.3
|
||||
with:
|
||||
tool: just
|
||||
|
||||
- name: Install cargo-check-external-types
|
||||
uses: taiki-e/cache-cargo-install-action@v2.1.2
|
||||
uses: taiki-e/cache-cargo-install-action@v2.2.0
|
||||
with:
|
||||
tool: cargo-check-external-types
|
||||
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
name: Semver
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.label.name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
check-semver-patch:
|
||||
name: Check semver (patch)
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.label.name == 'B-semver-patch'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check semver (patch)
|
||||
uses: obi1kenobi/cargo-semver-checks-action@v2.1
|
||||
with:
|
||||
release-type: patch
|
||||
|
||||
check-semver-minor:
|
||||
name: Check semver (minor)
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.label.name == 'B-semver-minor'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check semver (minor)
|
||||
uses: obi1kenobi/cargo-semver-checks-action@v2.1
|
||||
with:
|
||||
release-type: minor
|
||||
|
||||
check-semver-major:
|
||||
name: Check semver (major)
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.label.name == 'B-semver-major'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check semver (major)
|
||||
uses: obi1kenobi/cargo-semver-checks-action@v2.1
|
||||
with:
|
||||
release-type: major
|
Loading…
Reference in New Issue