-
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (51 loc) · 1.45 KB
/
lint.yml
File metadata and controls
52 lines (51 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI
on:
push:
paths:
- "**/**.rpy"
- "build.toml"
- "requirements.txt"
- ".github/workflows/lint.yml"
jobs:
lint:
name: Lint Project with SDK
runs-on: ubuntu-latest
steps:
- name: Clone source
uses: actions/checkout@v2
with:
fetch-depth: 50
- name: Clone Candella source
uses: actions/checkout@v2
with:
repository: 'UnscriptedVN/candella'
path: 'candella'
- name: Update Candella release
run: |
cd candella
python3 ./scripts/version_inject.py
cd ..
- name: Build Candella release
id: candella
uses: ProjectAliceDev/renpy-build-action@v1.1.3
with:
sdk-version: 8.0.3
project-dir: 'candella'
- name: Add Candella build to release
run: |
cd ${{ steps.candella.outputs.dir }}
sudo unzip ${{ steps.candella.outputs.version }}-System.zip
cp ./${{ steps.candella.outputs.version }}-System/game/candella.rpa ../
cd ..
sudo rm -rf candella
- name: Install Python PIP dependencies
run: pip install -r requirements.txt --target python-packages
- name: Lint project
uses: ProjectAliceDev/renpy-lint-action@v1.1.1
with:
sdk-version: 8.0.3
project-dir: "."
env:
SDL_AUDIODRIVER: dummy
SDL_VIDEODRIVER: dummy
LANG: en_US.UTF-8