Skip to content

change the endpoint for updating gamepasses, resolving #211 #460

change the endpoint for updating gamepasses, resolving #211

change the endpoint for updating gamepasses, resolving #211 #460

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
mantle/target/
key: ${{ runner.os }}-ci-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
working-directory: mantle
run: cargo build --locked --verbose
- name: Run linters
working-directory: mantle
run: |
rustup show
cargo version
cargo clippy -V
cargo fmt -- --check
cargo clippy -- -D warnings
- name: Generate schema
working-directory: mantle
run: cargo run --bin gen_schema