Skip to content

Commit

Permalink
Add basic workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
akoptelov committed Nov 17, 2023
1 parent a5f2c7b commit 7ed81c9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Openmina CI
on: [ push, pull_request, workflow_dispatch ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Check
uses: actions-rs/cargo@v1
with:
command: check

- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
# don't fail the job until clippy is fixed
continue-on-error: true

- name: Release build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --bin openmina

0 comments on commit 7ed81c9

Please sign in to comment.