fix(stats): correct broken query looking up player stats #27
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: Build with cargo | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Cache build artifacts | |
uses: actions/cache@v2 | |
with: | |
path: target/** | |
key: ${{ matrix.os }}-cargo | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build with cargo | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: nucleoid-backend | |
path: target/release/nucleoid-backend |