mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [MarcoIeni/release-plz-action](https://redirect.github.com/MarcoIeni/release-plz-action) | action | digest | `ede2f28` -> `394e0e4` | | [actions/checkout](https://redirect.github.com/actions/checkout) | action | digest | `eef6144` -> `11bd719` | --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/rustic-rs/rustic). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMjAuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJBLWNpIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
78 lines
2.4 KiB
YAML
78 lines
2.4 KiB
YAML
name: Check release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "release/**"
|
|
# TODO!: We might want to do it manually? Not sure.
|
|
# workflow_dispatch:
|
|
# inputs:
|
|
# crate:
|
|
# description: Crate to release
|
|
# required: true
|
|
# type: choice
|
|
# options:
|
|
# - rustic-rs
|
|
# - rustic_testing
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
# determine-package:
|
|
# name: Determine package to release
|
|
# runs-on: ubuntu-latest
|
|
# outputs:
|
|
# package: ${{ steps.determine-package-name.outputs.package }}
|
|
# steps:
|
|
# - name: Determine package
|
|
# id: determine-package-name
|
|
# run: |
|
|
# if [[ ${{ github.ref }} == *"rustic_core"* ]]; then
|
|
# echo "package=rustic_core" >> $GITHUB_OUTPUT
|
|
# elif [[ ${{ github.ref }} == *"rustic_testing"* ]]; then
|
|
# echo "package=rustic_testing" >> $GITHUB_OUTPUT
|
|
# elif [[ ${{ github.ref }} == *"rustic-"* ]]; then
|
|
# echo "package=rustic-rs" >> $GITHUB_OUTPUT
|
|
# fi
|
|
|
|
breaking-cli:
|
|
name: Check breaking CLI changes
|
|
if: ${{ github.repository_owner == 'rustic-rs' }}
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
- name: Install Rust toolchain
|
|
uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
|
|
with:
|
|
toolchain: stable
|
|
- uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2
|
|
- name: Run Cargo Test
|
|
run: cargo test --release -p rustic-rs --test completions -- --ignored
|
|
#
|
|
# FIXME: This is broken, when rustic-rs is released, we should fix it.
|
|
# semver-check:
|
|
# name: Check SemVer
|
|
# runs-on: ubuntu-latest
|
|
# strategy:
|
|
# matrix:
|
|
# rust: [stable]
|
|
# job:
|
|
# - os: ubuntu-latest
|
|
# # - os: windows-latest # Panics
|
|
# # - os: macos-latest # Panics
|
|
# steps:
|
|
# - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
|
|
# - name: Install Rust toolchain
|
|
# uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8 # v1
|
|
# with:
|
|
# toolchain: stable
|
|
# - uses: Swatinem/rust-cache@a95ba195448af2da9b00fb742d14ffaaf3c21f43 # v2
|
|
|
|
# - name: Check semver
|
|
# uses: obi1kenobi/cargo-semver-checks-action@e275dda72e250d4df5b564e969e1348d67fefa52 # v2
|
|
# with:
|
|
# package: rustic-rs
|