fix(ci): update ci
This commit is contained in:
parent
39d5c22f01
commit
6f8bf995a5
1 changed files with 10 additions and 8 deletions
|
|
@ -1,22 +1,24 @@
|
|||
name: Rust
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: "main"
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
branches: "main"
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: [ self-hosted ]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
Loading…
Add table
Add a link
Reference in a new issue