Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Baarsgaard committed Aug 23, 2023
1 parent 556c6a0 commit e912c04
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: "Test"
name: "Integration"
on:
push:
branches: [ "master" ]
branches:
- "master"
paths:
- src/**
- .cargo/**
- .github/workflows/test-rs.yml
pull_request:
branches: [ "master" ]
branches:
- master
paths:
- src/**
- .cargo/**
Expand All @@ -17,6 +19,14 @@ on:
jobs:
test:
name: "Cargo test"
runs-on: [self-hosted] #, windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test

lint:
name: "Cargo check/clippy"
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
Expand All @@ -26,7 +36,6 @@ jobs:

- run: cargo check
- run: cargo clippy -- -D warnings
- run: cargo test

fmt:
name: "Cargo format"
Expand Down

0 comments on commit e912c04

Please sign in to comment.