mirror of
https://github.com/RGBCube/dix
synced 2025-05-14 02:24:58 +00:00
workflows: add building workflow
This commit is contained in:
parent
6384189a18
commit
7c0dcd142d
1 changed files with 20 additions and 0 deletions
20
.github/workflows/build.yml
vendored
Normal file
20
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Cargo Build & Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ $default-branch ]
|
||||
pull_request:
|
||||
branches: [ $default-branch ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
name: dix - latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: cargo build --verbose
|
||||
- run: cargo test --verbose
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue