diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6d8b9dd..d0a010d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,12 @@ updates: open-pull-requests-limit: 10 reviewers: [MaterializeInc/dependency-czars] labels: [A-dependencies] +- package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: sunday + time: "22:00" + open-pull-requests-limit: 10 + reviewers: [MaterializeInc/dependency-czars] + labels: [A-dependencies] diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1146f69..f06ec4b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,41 +10,20 @@ jobs: lint: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v7 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: 1.89.0 components: rustfmt, clippy - - uses: Swatinem/rust-cache@v2 - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: fmt - args: -- --check - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: clippy - args: -- --deny warnings - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: install - args: --locked cargo-deny --version=0.19.0 - - uses: actions-rs/cargo@v1 - with: - toolchain: 1.89.0 - command: deny - args: check + - run: cargo fmt -- --check + - run: cargo clippy -- --deny warnings + - run: cargo install --locked cargo-deny --version=0.19.0 + - run: cargo deny check test: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.89.0 - - uses: Swatinem/rust-cache@v2 - - uses: actions-rs/cargo@v1 + - uses: actions/checkout@v7 + - uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: 1.89.0 - command: test + - run: cargo test