Skip to content

Commit

Permalink
organize workflow (#601)
Browse files Browse the repository at this point in the history
* Update python-ci.yml

* Update rust-ci.yml

* Update eslint-no-fail.yml
  • Loading branch information
durant42040 authored Sep 1, 2024
1 parent 01a11b3 commit c856fee
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/eslint-no-fail.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: eslint no fail
run-name: eslint no fail ${{ github.event.pull_request.branches[0].name }}
name: ESLint
on: [push, pull_request]
jobs:
eslint:
controller-server-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: Python lint
name: Python CI

on: [push, pull_request]

jobs:
lint:
editor-blender-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: isort/isort-action@v1
- name: isort
uses: isort/isort-action@v1
with:
requirements-files: "./editor-blender/requirements.txt"
sort-paths: "./editor-blender"
- uses: psf/black@stable
- name: black
uses: psf/black@stable
with:
options: "--check --verbose"
src: "./editor-blender"
src: "./editor-blender"
11 changes: 9 additions & 2 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
RUSTFLAGS: "-Dwarnings"

jobs:
editor-server_test:
editor-server-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -20,4 +20,11 @@ jobs:
run: cargo clippy --manifest-path ./editor-server/Cargo.toml
- name: fmt check
run: cargo fmt --manifest-path ./editor-server/Cargo.toml

file-server-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build test and clippy check
run: cargo clippy --manifest-path ./file-server/Cargo.toml
- name: fmt check
run: cargo fmt --manifest-path ./file-server/Cargo.toml

0 comments on commit c856fee

Please sign in to comment.