Skip to content

Commit

Permalink
Lets try some CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CraZySacX committed Feb 10, 2024
1 parent c4c4d5f commit f9e8275
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [stable, nightly]

steps:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
id: toolchain
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy

- name: clippy
if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable'
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings

0 comments on commit f9e8275

Please sign in to comment.