Skip to content

Commit

Permalink
👷 Add rust basic buuild on push
Browse files Browse the repository at this point in the history
  • Loading branch information
xaf committed Jun 23, 2023
1 parent b8c5bee commit 8f894bc
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ jobs:
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}
repository: XaF/homebrew-test
repository: XaF/homebrew-omni
event-type: update-formulae
28 changes: 28 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Continuous testing

on:
push:
branches:
- rust
pull_request:
branches:
- rust

env:
CARGO_TERM_COLOR: always

jobs:
tests:
name: Run tests

runs-on: ubuntu-latest

steps:
- name: Checkout current commit
uses: actions/checkout@v3

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

0 comments on commit 8f894bc

Please sign in to comment.