Skip to content

Fix Git user

Fix Git user #3

Workflow file for this run

name: Run tests
on:
push:
branches: '*'
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
java-version: [17]
mappings: [mojmap, yarn]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: fregante/setup-git-user@v2
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java-version }}
- name: Install Nox
run: pip install nox
- name: Copy template
run: nox -s ctt
- uses: gradle/gradle-build-action@v2
with:
build-root-directory: .ctt/${{ matrix.mappings }}
- name: Run tests
run: nox -k ${{ matrix.mappings }}