Compare commits

..

3 Commits

Author SHA1 Message Date
9cd53d3a56 Lint job should use python 3.11
All checks were successful
linting & formatting / build (push) Successful in 22s
2025-01-13 19:01:45 -07:00
7642843f5b Added build badges
All checks were successful
linting & formatting / build (push) Successful in 24s
2025-01-13 14:53:36 -07:00
2e3b51e3b1 Added CI job for linting
All checks were successful
linting & formatting / build (push) Successful in 20s
2025-01-13 13:43:11 -07:00
3 changed files with 41 additions and 2 deletions

View File

@ -0,0 +1,32 @@
name: linting & formatting
run-name: ${{ gitea.actor }} is checking linting & formatting.
on:
push:
branches:
- main
- ci-test
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
run: |
git init
git remote add origin ${{ gitea.event.repository.clone_url }}
git fetch --depth 1 origin ${{ gitea.ref }}
git checkout FETCH_HEAD
git lfs pull
- name: Setup Python
uses: actions/setup-python@v5.3.0
with:
python-version: '3.11'
- name: Install gdscript-toolkit
run: pip install -r requirements.txt
- name: Run gdLint
run: gdlint src/
- name: Check formatting
run: gdformat -c src

View File

@ -4,8 +4,6 @@ run-name: ${{ gitea.actor }} is publishing GFOLF ${{ gitea.ref_name }} to itch.i
on:
push:
branches:
- ci-test
tags:
- v*

View File

@ -1,7 +1,16 @@
# Gfolf2
![Lint Status](../../../actions/workflows/lint.yaml/badge.svg)
![Publish Status](../../../actions/workflows/publish.yaml/badge.svg)
GFOLF: Combat Golf Action
## About
Go hit your friends with golf balls!
A prototype under active development.
## Development
see [[DEVELOPMENT.md]]