Add workflow badge to README.md
This commit is contained in:
parent
fb5eac1307
commit
d21bb2cbdc
21
.github/workflows/rust.yml
vendored
Normal file
21
.github/workflows/rust.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Dust Tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
pull_request:
|
||||||
|
branches: ["main"]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build
|
||||||
|
run: cargo build --verbose
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test --verbose
|
@ -1,4 +1,4 @@
|
|||||||
# Dust
|
# Dust 
|
||||||
|
|
||||||
**Fast**, **safe** and **easy-to-use** general-purpose programming language.
|
**Fast**, **safe** and **easy-to-use** general-purpose programming language.
|
||||||
|
|
||||||
@ -23,6 +23,7 @@ fn fib (n: int) -> int {
|
|||||||
write_line(fib(25))
|
write_line(fib(25))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Highlights
|
## Highlights
|
||||||
|
|
||||||
- Easy to read and write
|
- Easy to read and write
|
||||||
|
Loading…
x
Reference in New Issue
Block a user