Skip to content

Commit

Permalink
ci: add rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Dec 16, 2024
1 parent 9e8c78d commit f3b85cd
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

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

env:
CARGO_TERM_COLOR: always

jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Check
run: bash contrib/scripts/check-fmt.sh check

check-crate:
name: Check crate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 'latest'

- name: Check
run: bash contrib/scripts/check-crate.sh

0 comments on commit f3b85cd

Please sign in to comment.