Skip to content

Commit

Permalink
chore: Update from '_rust/main' template
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Aug 11, 2023
2 parents 19e92ec + 5286387 commit bdc25ca
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
schedule: [
'before 3am on the first day of the month',
'before 5am on the first day of the month',
],
semanticCommits: 'enabled',
configMigration: true,
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@ jobs:
- uses: taiki-e/install-action@cargo-hack
- name: Check
run: cargo hack check --workspace --all-targets --feature-powerset
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: "Is lockfile updated?"
run: cargo fetch --locked
docs:
name: Docs
runs-on: ubuntu-latest
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/rust-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,22 @@ jobs:
run: cargo hack test --workspace --feature-powerset
- name: Run crate example
run: cargo run --example default
latest:
name: "Check latest dependencies"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Update dependencues
run: cargo update
- name: Build
run: cargo test --no-run --workspace --all-features
- name: Test
run: cargo hack test --workspace --feature-powerset
- name: Run crate example
run: cargo run --example default
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-yaml
stages: [commit]
Expand All @@ -15,12 +15,12 @@ repos:
- id: detect-private-key
stages: [commit]
- repo: https://github.com/crate-ci/typos
rev: v1.11.1
rev: v1.16.3
hooks:
- id: typos
stages: [commit]
- repo: https://github.com/crate-ci/committed
rev: v1.0.4
rev: v1.0.20
hooks:
- id: committed
stages: [commit-msg]

0 comments on commit bdc25ca

Please sign in to comment.