Skip to content

docs: add readme to skin-renderer #406

docs: add readme to skin-renderer

docs: add readme to skin-renderer #406

Workflow file for this run

on:
push:
paths:
- '**.rs'
- '**.toml'
- '**.yml'
- '.git*'
- 'Cargo.lock'
branches:
- main
name: test
env:
DISCORD_TOKEN: ''
REDIS_URL: ''
DATABASE_URL: ''
TOPGG_SECRET: ''
TOPGG_TOKEN: ''
REDIRECT_URI: ''
CLIENT_ID: ''
CLIENT_SECRET: ''
JWT_SECRET: ''
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Create empty .env
run: touch .env
- name: Install nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
profile: minimal
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
env:
HYPIXEL_API_KEY: ''
# - name: Run cargo test
# uses: actions-rs/cargo@v1
# env:
# HYPIXEL_API_KEY: ${{ secrets.HYPIXEL_API_KEY }}
# with:
# command: test