diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..c1b19e7 --- /dev/null +++ b/.github/workflows/rust.yml @@ -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 diff --git a/README.md b/README.md index cba0e8b..af57240 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Dust +# Dust ![Tests](https://github.com/solaeus/dust/actions/workflows/rust.yml/badge.svg) **Fast**, **safe** and **easy-to-use** general-purpose programming language. @@ -23,6 +23,7 @@ fn fib (n: int) -> int { write_line(fib(25)) ``` + ## Highlights - Easy to read and write