mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 02:20:58 -05:00
chore: Iterate on release process
This commit is contained in:
parent
c5028ded31
commit
613a0cba4b
15 changed files with 29 additions and 25 deletions
6
.github/settings.yml
vendored
6
.github/settings.yml
vendored
|
@ -37,7 +37,11 @@ labels:
|
||||||
branches:
|
branches:
|
||||||
- name: master
|
- name: master
|
||||||
protection:
|
protection:
|
||||||
# Manual: required_conversation_resolution: true, see https://github.com/probot/settings/issues/458
|
required_pull_request_reviews: null
|
||||||
|
required_conversation_resolution: true
|
||||||
required_status_checks:
|
required_status_checks:
|
||||||
# Required. Require branches to be up to date before merging.
|
# Required. Require branches to be up to date before merging.
|
||||||
strict: false
|
strict: false
|
||||||
|
contexts: ["CI", "Lint Commits", "Spell Check with Typos"]
|
||||||
|
enforce_admins: false
|
||||||
|
restrictions: null
|
||||||
|
|
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -15,6 +15,13 @@ on:
|
||||||
- '!/docs/**'
|
- '!/docs/**'
|
||||||
- "!/LICENSE-*"
|
- "!/LICENSE-*"
|
||||||
jobs:
|
jobs:
|
||||||
|
ci:
|
||||||
|
name: CI
|
||||||
|
needs: [smoke, test, msrv, docs, rustfmt, clippy]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Done
|
||||||
|
run: exit 0
|
||||||
smoke:
|
smoke:
|
||||||
name: Quick Check
|
name: Quick Check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
2
.github/workflows/committed.yml
vendored
2
.github/workflows/committed.yml
vendored
|
@ -2,7 +2,7 @@ name: Lint Commits
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
committed:
|
||||||
name: Lint Commits
|
name: Lint Commits
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
15
Cargo.toml
15
Cargo.toml
|
@ -13,20 +13,15 @@ members = [
|
||||||
[package]
|
[package]
|
||||||
name = "typos-cli"
|
name = "typos-cli"
|
||||||
version = "1.1.6"
|
version = "1.1.6"
|
||||||
authors = ["Ed Page <eopage@gmail.com>"]
|
|
||||||
description = "Source Code Spelling Correction"
|
description = "Source Code Spelling Correction"
|
||||||
|
authors = ["Ed Page <eopage@gmail.com>"]
|
||||||
|
license = "MIT OR Apache-2.0"
|
||||||
repository = "https://github.com/crate-ci/typos"
|
repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling"]
|
keywords = ["development", "spelling"]
|
||||||
license = "MIT"
|
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
|
||||||
default = ["dict", "vars"]
|
|
||||||
dict = ["typos-dict"]
|
|
||||||
vars = ["typos-vars"]
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
no-default-features = true
|
no-default-features = true
|
||||||
|
|
||||||
|
@ -43,6 +38,12 @@ pre-release-replacements = [
|
||||||
{file="setup.py", search="TYPOS_VERSION = .*", replace="TYPOS_VERSION = '{{version}}'", exactly=1},
|
{file="setup.py", search="TYPOS_VERSION = .*", replace="TYPOS_VERSION = '{{version}}'", exactly=1},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["dict", "vars"]
|
||||||
|
dict = ["typos-dict"]
|
||||||
|
vars = ["typos-vars"]
|
||||||
|
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "typos"
|
name = "typos"
|
||||||
path = "src/bin/typos-cli/main.rs"
|
path = "src/bin/typos-cli/main.rs"
|
||||||
|
|
|
@ -8,7 +8,6 @@ Finds and corrects spelling mistakes among source code:
|
||||||
|
|
||||||
![Screenshot](./docs/screenshot.png)
|
![Screenshot](./docs/screenshot.png)
|
||||||
|
|
||||||
[![Build Status](https://dev.azure.com/crate-ci/crate-ci/_apis/build/status/typos?branchName=master)](https://dev.azure.com/crate-ci/crate-ci/_build/latest?definitionId=11&branchName=master)
|
|
||||||
[![codecov](https://codecov.io/gh/crate-ci/typos/branch/master/graph/badge.svg)](https://codecov.io/gh/crate-ci/typos)
|
[![codecov](https://codecov.io/gh/crate-ci/typos/branch/master/graph/badge.svg)](https://codecov.io/gh/crate-ci/typos)
|
||||||
[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]
|
[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]
|
||||||
![License](https://img.shields.io/crates/l/typos.svg)
|
![License](https://img.shields.io/crates/l/typos.svg)
|
||||||
|
|
|
@ -12,7 +12,6 @@ edition = "2018"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[package.metadata.release]
|
[package.metadata.release]
|
||||||
|
|
|
@ -5,7 +5,7 @@ description = "Compile-time case-insensitive map"
|
||||||
repository = "https://github.com/crate-ci/typos"
|
repository = "https://github.com/crate-ci/typos"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling", "no_std"]
|
keywords = ["development", "spelling", "no_std"]
|
||||||
license = "MIT"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -7,12 +7,11 @@ repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling"]
|
keywords = ["development", "spelling"]
|
||||||
license = "MIT"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[package.metadata.release]
|
[package.metadata.release]
|
||||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling"]
|
keywords = ["development", "spelling"]
|
||||||
license = "MIT"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling"]
|
keywords = ["development", "spelling"]
|
||||||
license = "MIT"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling"]
|
keywords = ["development", "spelling"]
|
||||||
license = "MIT"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -6,11 +6,10 @@ description = "Varcon-relevant data structures"
|
||||||
repository = "https://github.com/crate-ci/typos"
|
repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
categories = ["text-processing"]
|
categories = ["text-processing"]
|
||||||
license = "MIT"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -7,11 +7,10 @@ repository = "https://github.com/crate-ci/typos"
|
||||||
readme = "../../README.md"
|
readme = "../../README.md"
|
||||||
categories = ["development-tools", "text-processing"]
|
categories = ["development-tools", "text-processing"]
|
||||||
keywords = ["development", "spelling"]
|
keywords = ["development", "spelling"]
|
||||||
license = "MIT"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -12,7 +12,6 @@ edition = "2018"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
azure-devops = { project = "crate-ci", pipeline = "typos" }
|
|
||||||
codecov = { repository = "crate-ci/typos" }
|
codecov = { repository = "crate-ci/typos" }
|
||||||
|
|
||||||
[package.metadata.release]
|
[package.metadata.release]
|
||||||
|
|
|
@ -4,3 +4,4 @@ tag-message = "{{tag_name}}"
|
||||||
tag-name = "{{prefix}}v{{version}}"
|
tag-name = "{{prefix}}v{{version}}"
|
||||||
consolidate-commits = true
|
consolidate-commits = true
|
||||||
consolidate-pushes = true
|
consolidate-pushes = true
|
||||||
|
allow-branch = ["master"]
|
||||||
|
|
Loading…
Reference in a new issue