Merge remote-tracking branch 'ci/main' into develop

This commit is contained in:
Felix Bargfeldt 2023-05-02 14:40:47 +02:00
commit e171db2980
Signed by: Defelo
GPG key ID: 2A05272471204DD3
4 changed files with 43 additions and 4 deletions

View file

@ -75,7 +75,9 @@ jobs:
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: cargo install cargo-hack
uses: taiki-e/install-action@cargo-hack
uses: taiki-e/install-action@v2
with:
tool: cargo-hack
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: cargo hack
@ -98,4 +100,4 @@ jobs:
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: cargo +${{ matrix.msrv }} check
run: cargo check
run: cargo check

23
.github/workflows/notify-release.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: notify-release
on:
workflow_dispatch:
release:
types: [published]
issues:
types: [closed]
schedule:
- cron: '0 4 * * *'
permissions:
contents: read
issues: write
jobs:
notify-release:
runs-on: ubuntu-latest
steps:
- name: Notify release
uses: nearform-actions/github-action-notify-release@v1
with:
notify-after: '7d'

View file

@ -45,7 +45,9 @@ jobs:
with:
components: llvm-tools-preview
- name: cargo install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
@ -56,4 +58,4 @@ jobs:
- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
fail_ci_if_error: true

12
release.toml Normal file
View file

@ -0,0 +1,12 @@
shared-version = true
sign-commit = true
pre-release-commit-message = "v{{version}}"
sign-tag = true
tag-prefix = ""
tag-message = "v{{version}}"
publish = true
allow-branch = ["develop"]