Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase delay between publishing each crate to 60 seconds #843

Merged
merged 7 commits into from
Dec 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ concurrency:

env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.65.0
NIGHTLY_RUST_VERSION: nightly-2022-12-14
RUSTFLAGS: -D warnings
REGISTRY: ghcr.io

Expand All @@ -26,20 +28,21 @@ jobs:
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: ${{ env.NIGHTLY_RUST_VERSION }}
override: true
components: rustfmt

- name: Rustfmt check
run: cargo +nightly fmt --all -- --check
run: cargo +${{ env.NIGHTLY_RUST_VERSION }} fmt --all -- --check

lint-toml-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ env.RUST_VERSION }}
override: true
- name: Install Cargo.toml linter
uses: baptiste0928/cargo-install@v1
with:
Expand Down Expand Up @@ -107,7 +110,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ env.RUST_VERSION }}
override: true
components: clippy
- name: Install Cargo Make
uses: davidB/rust-cargo-make@v1
with:
Expand Down Expand Up @@ -152,7 +157,7 @@ jobs:
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ env.RUST_VERSION }}
override: true

- name: Install Protoc
Expand Down Expand Up @@ -184,7 +189,7 @@ jobs:
- name: Publish crate
uses: katyo/publish-crates@v1
with:
publish-delay: 30000
publish-delay: 60000
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Notify if Job Fails
Expand Down Expand Up @@ -314,7 +319,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ env.RUST_VERSION }}
target: ${{ matrix.job.target }}
override: true

Expand Down