Skip to content

Commit

Permalink
Add GitHub Actions config, remove travis
Browse files Browse the repository at this point in the history
  • Loading branch information
espdev committed Oct 12, 2024
1 parent 7b1e2af commit d35eda1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 27 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Build and Tests"

on:
push:
branches:
- master

pull_request:
branches:
- master

jobs:
main:
name: csaps-rs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
rustflags: "-A warnings"

# - name: Check format
# run: cargo fmt --check

# - name: Check code
# run: cargo clippy

- name: Run tests
run: cargo test --color always
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

0 comments on commit d35eda1

Please sign in to comment.