Skip to content

Commit

Permalink
Replace Travis CI with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vorot93 committed Jun 27, 2022
1 parent 8d2d94c commit 49e192d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 64 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
on:
pull_request:
push:
branches:
- master

name: CI

jobs:
ci:
runs-on: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy

- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

- uses: actions-rs/install@v0.1
with:
crate: cargo-hack
version: latest
use-tool-cache: true

- uses: actions-rs/cargo@v1
with:
command: hack
args: check --workspace --ignore-private --each-feature --no-dev-deps

- uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --all-targets --all-features

- uses: actions-rs/cargo@v1
with:
command: test

- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
64 changes: 0 additions & 64 deletions .travis.yml

This file was deleted.

0 comments on commit 49e192d

Please sign in to comment.