This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Integrate with Aditude API for payouts #2220
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust building | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
SQLX_OFFLINE: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get build cache | |
id: cache-build | |
uses: actions/cache@v2 | |
with: | |
path: target/** | |
key: ${{ runner.os }}-build-cache | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
env: | |
SQLX_OFFLINE: true | |
- uses: actions-rs/cargo@v1 | |
name: Build program | |
with: | |
command: build | |
env: | |
SQLX_OFFLINE: true |