Skip to content

bump to version v1.1.2 #45

bump to version v1.1.2

bump to version v1.1.2 #45

Workflow file for this run

name: Lint
on:
push:
paths:
- "**.bolt"
- "**.json"
- "**.mcfunction"
- "beet.yaml"
branches:
- "**"
pull_request:
branches:
- "**"
workflow_dispatch:
env:
VERSION: '1.20'
NAME: 'Advancement-Count'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: pip
- name: Install dependencies
run: pip install -r requirements.lock
- name: Build
run: beet
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact
path: |
build/${{ env.NAME }}
mc-commands:
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
- name: Check minecraft commands
uses: mcbeet/check-commands@v1
with:
version: "0.94.0"
source: "."
minecraft: ${{ env.VERSION }}
stats: true
json:
runs-on: ubuntu-latest
needs: build
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: artifact
- name: Install jsonlint
run: npm install -g jsonlint
- name: Lint json files
run: for file in $(find . -name '*.json'); do jsonlint $file -c -q; done