9 Commits
dev ... 1.1.0

Author SHA1 Message Date
8a93fdc95a Update python-app.yml 2024-08-06 20:58:22 +08:00
0ed0deb843 Create python-app.yml 2024-08-06 20:55:52 +08:00
3ad1fbf770 Create translate.yml 2024-08-06 20:01:25 +08:00
6061362cdc Merge pull request #17 from AlignPixel/dev
从"dev"分支拉去更新
2024-08-06 19:59:48 +08:00
fce27cb97f Merge pull request #16 from AlignPixel/dev
Update img
2024-08-02 14:40:53 +08:00
224628e821 Merge pull request #15 from AlignPixel/dev
Update .DS_Store
2024-08-02 14:37:29 +08:00
ebb8460ca3 Merge pull request #14 from AlignPixel/lite
Merge pull request #13 from AlignPixel/master
2024-08-01 10:45:26 +08:00
63aea9f91c Merge pull request #13 from AlignPixel/master
转移内容
2024-08-01 10:45:04 +08:00
4cd862183b Merge pull request #12 from AlignPixel/dev
Merge pull request #11 from AlignPixel/master
2024-08-01 10:44:32 +08:00
2 changed files with 69 additions and 0 deletions

39
.github/workflows/python-app.yml vendored Normal file
View File

@ -0,0 +1,39 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pyinstaller
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Pyinstaller
run: |
pyinstaller -F desktop/se-verson.py
pyinstaller -F server-client/simple-verson.py

30
.github/workflows/translate.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: 'issue and discussion translator'
on:
issues:
types: [opened, edited]
issue_comment:
types: [created, edited]
discussion:
types: [created, edited]
discussion_comment:
types: [created, edited]
pull_request_target:
types: [opened, edited]
pull_request_review_comment:
types: [created, edited]
jobs:
translate:
permissions:
issues: write
discussions: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lizheming/github-translate-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
IS_MODIFY_TITLE: true
APPEND_TRANSLATION: true