Skip to content

Token Factory DAOs

Token Factory DAOs #10

name: Token Factory Tests
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
container:
options: --user root

Check failure on line 12 in .github/workflows/token_factory_tests.yml

View workflow run for this annotation

GitHub Actions / Token Factory Tests

Invalid workflow file

The workflow is not valid. .github/workflows/token_factory_tests.yml (Line: 12, Col: 7): Container image cannot be empty
steps:
- uses: actions/checkout@v3
- name: Install latest nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-02-02
target: wasm32-unknown-unknown
override: true
- name: Rust Dependencies Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
artifacts/
key: ${{ runner.os }}-cargo-with-artifacts-${{ hashFiles('**/Cargo.lock') }}
- name: Set latest just version
run: echo "JUST_VERSION=$(cargo search just -q | sed -n -e '/^just[[:space:]]/p' | cut -d '"' -f 2)" >> $GITHUB_ENV
- name: Get cached just
uses: actions/cache@v3
with:
path: ~/.cargo/bin/just
key: ${{ runner.os }}-just-${{ env.JUST_VERSION }}
- name: Install just
run: cargo install just || true
- name: Run tests
run: just token-factory-tests