Compare commits

...

5 Commits

Author SHA1 Message Date
Rob Ede 72d4b6954c
Merge a7c5366503 into 3f9d88f859 2025-07-09 00:29:53 +02:00
dependabot[bot] 3f9d88f859
build(deps): bump taiki-e/install-action from 2.54.0 to 2.54.3 (#3686)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.54.0 to 2.54.3.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.54.0...v2.54.3)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.54.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 22:59:38 +00:00
dependabot[bot] 2eb801cb59
build(deps): bump taiki-e/cache-cargo-install-action from 2.1.2 to 2.2.0 (#3687)
Bumps [taiki-e/cache-cargo-install-action](https://github.com/taiki-e/cache-cargo-install-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/taiki-e/cache-cargo-install-action/releases)
- [Changelog](https://github.com/taiki-e/cache-cargo-install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/cache-cargo-install-action/compare/v2.1.2...v2.2.0)

---
updated-dependencies:
- dependency-name: taiki-e/cache-cargo-install-action
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-30 22:58:36 +00:00
Rob Ede a7c5366503
Merge branch 'master' into ci-semver-check-on-label 2024-08-10 03:17:23 +01:00
Rob Ede 270bbf1906
ci: check semver on labelling PRs 2023-12-16 11:00:29 +00:00
5 changed files with 56 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

49
.github/workflows/semver.yml vendored Normal file
View File

@ -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