Skip to content

update graphql main loop of tower_cartesi so it doesnt crash on errors #82

update graphql main loop of tower_cartesi so it doesnt crash on errors

update graphql main loop of tower_cartesi so it doesnt crash on errors #82

Workflow file for this run

name: Rust
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup protoc
uses: arduino/setup-protoc@v1.1.2
- uses: actions-rs/cargo@v1
with:
command: check
args: --all
lints:
name: fmt check
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup protoc
uses: arduino/setup-protoc@v1.1.2
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check