Skip to content

Commit

Permalink
feat: setup actions
Browse files Browse the repository at this point in the history
  • Loading branch information
beqaabu committed Nov 29, 2024
1 parent cfc79c7 commit c92faa9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/ci.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: fmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy
- name: check
run: cargo check
- name: build
run: cargo build --release
- name: run tests
run: cargo test --release

0 comments on commit c92faa9

Please sign in to comment.