Skip to content

支援多人遊戲

支援多人遊戲 #50

Workflow file for this run

on:
push:
branches:
- "main"
workflow_dispatch:
name: Checks
jobs:
check:
if: github.repository == 'igncp/mahjong' || github.event_name == 'workflow_dispatch'
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run checks
run: |
touch ./scripts/nix/is-checks-ci
nix develop path:$(pwd) -c rustup install stable
nix develop path:$(pwd) -c bash -c 'cd scripts && bash src/main.sh check'