diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ece17ede..8709f46ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,8 @@ on: - '!/*.md' - '!/docs/**' - "!/LICENSE-*" + schedule: + - cron: '3 3 3 * *' jobs: ci: name: CI @@ -113,6 +115,8 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: + # Not MSRV because its harder to jump between versions and people are + # more likely to have stable toolchain: stable profile: minimal override: true diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index d0ef8a881..e900fddc6 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -1,5 +1,13 @@ name: rust-next on: + push: + branches: + - master + paths: + - '**' + - '!/*.md' + - '!/docs/**' + - "!/LICENSE-*" schedule: - cron: '3 3 3 * *' jobs: diff --git a/Cargo.toml b/Cargo.toml index 881b33982..8dfb42d44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,13 +8,12 @@ readme = "README.md" categories = ["development-tools::cargo-plugins"] keywords = ["cargo"] edition = "2018" -exclude = [ - "docs/**", - "README.md", - "CHANGELOG.md", - "hook.sh", - "release.toml", - ".github/**", +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" ] [package.metadata.release] diff --git a/release.toml b/release.toml index e49e46604..0919ca02e 100644 --- a/release.toml +++ b/release.toml @@ -1,4 +1,5 @@ pre-release-commit-message = "chore: Release" +dev-version = false tag-message = "{{tag_name}}" tag-name = "{{prefix}}v{{version}}" pre-release-hook = ["./hook.sh", "一", "два", "Three", "4"]