Skip to content

Commit

Permalink
Github Actions (#3)
Browse files Browse the repository at this point in the history
* Build caching

* Test caching
  • Loading branch information
clarkmcc committed May 29, 2023
1 parent 5770cc1 commit a928988
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ fn main() {
let value = program.execute(&context).unwrap();
assert_eq!(value, true.into());
}
```
```

0 comments on commit a928988

Please sign in to comment.