updated workflow #40
@@ -1,25 +0,0 @@
|
||||
name: Code Quality Pipeline
|
||||
run-name: ${{ gitea.actor }} is running the Code Quality Pipeline
|
||||
on: push
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup Environment
|
||||
uses: https://github.com/actions/setup-python@v3
|
||||
with:
|
||||
python-verison: "3.12"
|
||||
architecture: "x64"
|
||||
- name: Install Packages
|
||||
run: |
|
||||
pip install poetry
|
||||
poetry install
|
||||
- name: PEP8 Check
|
||||
run: |
|
||||
poetry run flake8 . --benchmark
|
||||
- name: Type Check
|
||||
run: |
|
||||
poetry run mypy . --disable-error-code=import-untyped
|
||||
@@ -1,7 +1,17 @@
|
||||
name: release-tag
|
||||
on: workflow_dispatch
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: 'The version number to deploy'
|
||||
required: true
|
||||
jobs:
|
||||
release-image:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "manual trigger executed"
|
||||
-
|
||||
run: echo "manual trigger executed"
|
||||
-
|
||||
run: echo "$MESSAGE"
|
||||
env:
|
||||
MESSAGE; ${{ github.event.inputs.version}}
|
||||
|
||||
Reference in New Issue
Block a user