forked from rust-scraper/scraper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From what I understand, TravisCI no longer offer CI for open source projects without jumping through a lot of hoops to obtain free credits.
- Loading branch information
1 parent
f8b1036
commit 0826ada
Showing
2 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Tests | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
jobs: | ||
format_and_lint: | ||
name: Format and lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install latest nightly | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
components: rustfmt, clippy | ||
- uses: Swatinem/rust-cache@v1 | ||
- name: Check formating | ||
run: cargo fmt -- --check | ||
- name: Lint | ||
run: cargo clippy -- -D warnings | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
rust_version: [1.36.0, stable, beta, nightly] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install latest nightly | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{matrix.rust_version}} | ||
override: true | ||
- uses: Swatinem/rust-cache@v1 | ||
- name: Test | ||
run: cargo test |
This file was deleted.
Oops, something went wrong.