Skip to content

Commit

Permalink
Merge pull request #15 from dimbleby/github-admin
Browse files Browse the repository at this point in the history
github admin
  • Loading branch information
dimbleby committed Oct 23, 2023
2 parents adbba7f + c6f19bf commit 35fcbe9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
10 changes: 6 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
directory: /
schedule:
interval: "weekly"
ignore:
- dependency-name: "mio"
interval: monthly
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
19 changes: 15 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]
schedule:
- cron: "0 3 1 * *"

Expand Down Expand Up @@ -36,17 +36,28 @@ jobs:
os: macos-latest
rust: stable
target: x86_64-apple-darwin
- build: win32
os: windows-latest
rust: stable
target: i686-pc-windows-msvc
- build: win64
os: windows-latest
rust: stable
target: x86_64-pc-windows-msvc
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
shell: bash
- run: rustup target add ${{ matrix.target }}
- run: rustup component add clippy
- run: cargo fmt -- --check
if: matrix.build == 'x86_64'
name: Check formatting
- run: cargo clippy -- -D warnings
name: Run clippy
- run: cargo build
name: Build
- run: cargo test
name: Run tests
- run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Extra components for use with [Mio](https://github.com/tokio-rs/mio):
[crates-badge]: https://img.shields.io/crates/v/mio-extras.svg
[crates-url]: https://crates.io/crates/mio-extras
[actions-badge]: https://github.com/dimbleby/mio-extras/actions/workflows/build.yml/badge.svg
[actions-url]: https://github.com/dimbleby/mio-extras/actions?query=workflow%3ACI+branch%3Amaster
[actions-url]: https://github.com/dimbleby/mio-extras/actions?query=workflow%3ACI+branch%3Amain

[Documentation](https://docs.rs/mio-extras).

Expand Down

0 comments on commit 35fcbe9

Please sign in to comment.