Skip to content

Commit

Permalink
enable ci
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray committed Feb 12, 2024
1 parent 0d095f0 commit 3f678b9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test

on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
test:
strategy:
fail-fast: true

name: Anchor Test
runs-on: ubuntu-latest
container: backpackapp/build:v0.29.0
steps:
- uses: actions/checkout@v4

- run: rustup toolchain list
- run: rustup default stable
- run: rustup toolchain list

- run: cargo fmt --check --all

- run: cargo check

- run: cargo clippy

- run: anchor test

0 comments on commit 3f678b9

Please sign in to comment.