Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batched update #37

Merged
merged 20 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
136 changes: 68 additions & 68 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-server:
name: Server
runs-on: ubuntu-latest
container: golang:alpine
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@v5
- run: task server:build
- uses: actions/upload-artifact@v4
with:
path: server/build/botw-iss
name: server
retention-days: 3

build-manual:
name: Manual
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: cargo-bins/cargo-binstall@main
- run: cargo-binstall --no-confirm mdbook
- run: task manual:build
- uses: actions/upload-artifact@v4
with:
path: manual/book
name: manual
retention-days: 3

build-legacy:
name: Legacy App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: task leg:ci
- run: task leg:build
- uses: actions/upload-artifact@v4
with:
path: legacy/dist
name: legacy
retention-days: 3
# name: Build
# on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - main
#
# jobs:
# build-server:
# name: Server
# runs-on: ubuntu-latest
# container: golang:alpine
# steps:
# - uses: actions/checkout@v4
# - uses: arduino/setup-task@v2
# with:
# version: 3.x
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - uses: actions/setup-go@v5
# - run: task server:build
# - uses: actions/upload-artifact@v4
# with:
# path: server/build/botw-iss
# name: server
# retention-days: 3
#
# build-manual:
# name: Manual
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: arduino/setup-task@v2
# with:
# version: 3.x
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - uses: cargo-bins/cargo-binstall@main
# - run: cargo-binstall --no-confirm mdbook
# - run: task manual:build
# - uses: actions/upload-artifact@v4
# with:
# path: manual/book
# name: manual
# retention-days: 3

# build-legacy:
# name: Legacy App
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: arduino/setup-task@v2
# with:
# version: 3.x
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - uses: actions/setup-python@v5
# with:
# python-version: '3.11'
# - uses: actions/setup-node@v4
# with:
# node-version: 18.x
# - run: task leg:ci
# - run: task leg:build
# - uses: actions/upload-artifact@v4
# with:
# path: legacy/dist
# name: legacy
# retention-days: 3
#

62 changes: 22 additions & 40 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,22 @@
name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
check-server:
name: Server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-go@v5
- run: task server:check

check-legacy:
name: Legacy App
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: task leg:ci
- run: task leg:test
- run: task leg:check
# name: Check
# on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - main
#
# jobs:
# check-server:
# name: Server
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: arduino/setup-task@v2
# with:
# version: 3.x
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - uses: actions/setup-go@v5
# - run: task server:check
#
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@

# Cargo
/target

# NPM
/node_modules

/packages/workex
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.yaml
*.yml
*.gen.ts
Loading