-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (39 loc) · 1003 Bytes
/
action.yml
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
name: "Aviator Signals"
description: "Runs linters and sends the output to aviator/api/signals."
branding:
color: yellow
icon: activity
runs:
using: "composite"
steps:
- uses: actions/checkout@v4
with:
filter: 'blob:none'
# todo: only changed files?
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install linters
run: |
pip install pylint
pip install mypy
shell: sh
- name: Setup reviewdog
uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Run linters
run: python $GITHUB_ACTION_PATH/action.py path=$GITHUB_ACTION_PATH
shell: sh
env:
ACTION_PATH: $GITHUB_ACTION_PATH
- name: Check output file
run: ls -la output.txt
shell: sh
# todo: update to check for 200 response, log response now for testing purposes
- name: Upload Response Artifact
uses: actions/upload-artifact@v3
with:
name: output
path: output.txt