Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ax0 committed Nov 11, 2024
1 parent 868fb33 commit d1030f3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Build & release chat
on:
push:
branches: [main]
pull_request:
branches:
- "**"
workflow_dispatch:
inputs:
release:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1.10.1
with:
toolchain: nightly
rustflags:
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --release --verbose

0 comments on commit d1030f3

Please sign in to comment.