Naive attempt to adapt rust github workflow
Some checks failed
Rust / build (push) Failing after 35s

This commit is contained in:
Apache 2024-07-15 01:35:27 -05:00
parent 462883089b
commit 34a0f97099
Signed by: apache
GPG key ID: 78BA80EB40E43123
2 changed files with 22 additions and 6 deletions

View file

@ -1,6 +0,0 @@
on: [push]
jobs:
test:
runs-on: docker
steps:
- run: echo All Good

View file

@ -0,0 +1,22 @@
name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose