Skip to content

Commit

Permalink
chore: move from circleci to github actions
Browse files Browse the repository at this point in the history
This patch moves from circleci to github actions.
  • Loading branch information
rockstar committed Dec 16, 2023
1 parent 703ba33 commit b4f8257
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
32 changes: 0 additions & 32 deletions .circleci/config.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:

jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [Ubuntu, macOS, Windows]

steps:
- uses: actions/checkout@v3
- name: Install clippy, rustfmt and cargo-deny
run: |
rustup component add clippy
rustup component add rustfmt
cargo install cargo-deny
- name: Build
run: cargo build --verbose --features strict
- name: Run tests
run: cargo test --verbose
- name: Check lint
run: cargo clippy
- name: Check format
run: cargo fmt -- --check
- name: Run cargo deny
run: cargo deny check
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include = [
]

[features]
default = ["strict"]
default = []
strict = [] # Warnings are errors

[dependencies]
Expand Down

0 comments on commit b4f8257

Please sign in to comment.