Skip to content

Commit

Permalink
Switch to GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Jul 25, 2024
1 parent 63acafd commit d817aee
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 21 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
pull_request:
push:
merge_group:

jobs:
rustfmt:
runs-on: ubuntu-latest
name: cargo fmt
steps:
- uses: actions/checkout@v4

- name: install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt

- name: cargo fmt
run: cargo fmt --all --check

test-stable:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
name: cargo clippy + test
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: clippy

- name: cargo clippy (default features)
run: cargo clippy -- -D warnings

- name: cargo test
run: cargo test --all-features
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

20 changes: 0 additions & 20 deletions appveyor.yml

This file was deleted.

0 comments on commit d817aee

Please sign in to comment.