Skip to content

Commit

Permalink
Merge pull request #139 from waywardmonkeys/switch-to-github-actions
Browse files Browse the repository at this point in the history
Switch to GitHub actions
  • Loading branch information
bvssvni authored Aug 2, 2024
2 parents c3d4d67 + d817aee commit b6866ec
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 b6866ec

Please sign in to comment.