diff options
| author | James Zow <jameszow@163.com> | 2022-07-15 13:46:03 +0200 |
|---|---|---|
| committer | mokou <mokou@fastmail.com> | 2022-07-15 13:46:03 +0200 |
| commit | 1cc5df0e144ef3551062c162e2e1618c27d97ae0 (patch) | |
| tree | 9d024dd1ac20e4af4313fd4c4aabedceffa6b662 /.github/workflows/rust.yml | |
| parent | a3b5278b4259da83bad1f645e19ba6b0d36f4dde (diff) | |
feat: add github actions config
Diffstat (limited to '.github/workflows/rust.yml')
| -rw-r--r-- | .github/workflows/rust.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..bf2a041 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,20 @@ +name: Rustlings Tests + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose |
