Update workflows

This commit is contained in:
Willy-JL
2023-03-07 22:23:19 +00:00
parent 07edb7eea8
commit 38fb1c8047
8 changed files with 61 additions and 300 deletions

27
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: 'Lint code formatting'
on:
push:
branches:
- dev
- main
tags:
- '*'
pull_request:
env:
SET_GH_OUTPUT: 1
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: 'Checkout code'
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- name: 'Check code formatting'
run: ./fbt lint lint_py