Skip to content
Open
Show file tree
Hide file tree
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
10 changes: 0 additions & 10 deletions .github/dependabot.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: cp ci/Cargo.lock ci/rust-toolchain.toml .
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@v2.2.0
- run: cargo build --tests --locked
- id: setup_env
run: ./ci/testenv/setup.sh
Expand All @@ -37,5 +37,5 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: cp ci/Cargo.lock ci/rust-toolchain.toml .
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@v2.2.0
- run: cargo clippy -- -D warnings
6 changes: 3 additions & 3 deletions .github/workflows/flaky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: cp ci/Cargo.lock ci/rust-toolchain.toml .
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@v2.2.0
- name: Build misskey-api
run: cargo build --tests --locked --manifest-path misskey-api/Cargo.toml ${{ matrix.flags }}
- name: Build misskey-util
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: cp ci/Cargo.lock ci/rust-toolchain.toml .
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@v2.2.0
- run: cargo build --tests --locked --manifest-path misskey-api/Cargo.toml --no-default-features --features "12-47-0 ${{ matrix.method }}"
- id: setup_env
run: ./ci/testenv/setup.sh
Expand All @@ -144,7 +144,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: cp ci/Cargo.lock ci/rust-toolchain.toml .
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@v2.2.0
- run: cargo build --locked --tests --manifest-path misskey-websocket/Cargo.toml --no-default-features --features ${{ matrix.features }}
- id: setup_env
run: ./ci/testenv/setup.sh
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- run: rustup override set "$TOOLCHAIN"
env:
TOOLCHAIN: ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@v2.2.0
- run: cargo build --tests --locked
- id: setup_env
run: ./ci/testenv/setup.sh
Expand All @@ -43,11 +43,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup override set nightly
- uses: taiki-e/install-action@v1
- uses: taiki-e/install-action@v1.14.7
with:
# renovate: depName=taiki-e/cargo-hack
tool: cargo-hack@0.5.22
- uses: taiki-e/install-action@v1
- uses: taiki-e/install-action@v1.14.7
with:
# renovate: depName=taiki-e/cargo-minimal-versions
tool: cargo-minimal-versions@0.1.7
- uses: Swatinem/rust-cache@v2
- uses: Swatinem/rust-cache@v2.2.0
- run: cargo minimal-versions check --workspace --ignore-private
30 changes: 30 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":disableDependencyDashboard",
"schedule:weekly",
":semanticCommitTypeAll(chore)"
],
"timezone": "Asia/Tokyo",
"baseBranches": ["renovate/configure"],
"regexManagers": [
{
"fileMatch": ["^\\.github\\/workflows\\/[^/]+\\.ya?ml$"],
"matchStrings": [
"uses: taiki-e\\/install-action@.+\\s+with:\\s+# renovate: depName=(?<depName>.*?)\\s+tool: .+?@(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"datasourceTemplate": "github-releases"
}
],
"cargo": {
"rangeStrategy": "replace"
},
"packageRules": [
{
"matchDepTypes": ["action"],
"excludePackagePrefixes": ["actions/"],
"pinDigests": true
}
]
}