diff options
author | 2024-12-14 17:41:20 -0800 | |
---|---|---|
committer | 2024-12-14 17:46:28 -0800 | |
commit | 1be51fa102d46c2f5f4ce1f302df4755932167ac (patch) | |
tree | df04d1603e7c193d28d12c2bd1be0014c923264f | |
parent | 7652c0d92731c6324cc4228f390326ac0f47e667 (diff) | |
download | restic-operator-1be51fa102d46c2f5f4ce1f302df4755932167ac.tar.gz restic-operator-1be51fa102d46c2f5f4ce1f302df4755932167ac.tar.zst restic-operator-1be51fa102d46c2f5f4ce1f302df4755932167ac.zip |
Add pre-release CI
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/pre-release.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml new file mode 100644 index 0000000..3a1f4b6 --- /dev/null +++ b/.github/workflows/pre-release.yml @@ -0,0 +1,31 @@ +name: Pre-Release CI + +on: + push: + branches: + - 'release-plz-*' + +env: + CARGO_TERM_COLOR: always + RUSTFLAGS: '-D warnings' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Rust Cache + uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # v2 + + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + + - name: Build with Cargo + run: cargo build + + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "chore: update CRD" |