Skip to content

Feat/update next game #26

Feat/update next game

Feat/update next game #26

Workflow file for this run

name: Rust Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
optimize:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run workspace optimizer
run: |
docker run --rm \
-v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/workspace-optimizer:0.16.0 \
/code