Skip to content

Initial commit: Escaping the Labyrinth (CH) #23

Initial commit: Escaping the Labyrinth (CH)

Initial commit: Escaping the Labyrinth (CH) #23

Workflow file for this run

name: Linter
# Run this workflow every time a new commit pushed to your repository
on: push
jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
super-lint:
# Name the Job
name: Lint code base
# Set the type of machine to run on
runs-on: ubuntu-latest
env:
working-directory : ./UOP1_Project/
steps:
- uses: actions/checkout@v2
- run: git pull
- run: dotnet tool install -g dotnet-format
- name: format
run: dotnet-format -f Assets/Scripts -v d
working-directory: ${{env.working-directory}}
- name: Commit changes
uses: EndBug/add-and-commit@v5
with:
message: "[Bot] Automated dotnet-format update"
add: "*.cs"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}