fix(ci): update ci

This commit is contained in:
SolidStateDrive 2025-02-01 16:14:42 +01:00 committed by GitHub Enterprise
commit 6f8bf995a5

View file

@ -1,22 +1,24 @@
name: Rust name: Build
on: on:
push: push:
branches: [ "main" ] branches: "main"
pull_request: pull_request:
branches: [ "main" ] branches: "main"
workflow_dispatch:
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
build: build:
runs-on: ubuntu-latest
runs-on: [ self-hosted ]
steps: steps:
- uses: actions/checkout@v4 - name: Checkout Repository
uses: actions/checkout@v4
- name: Build - name: Build
run: cargo build --verbose run: cargo build --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose run: cargo test --verbose