Skip to content

Commit e42e338

Browse files
committed
ci: decommission of rflint
The following issue won't be fixed: Closes #1104 Part of #1669
1 parent a02466b commit e42e338

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

.github/workflows/static-analysis.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -115,25 +115,6 @@ jobs:
115115
- name: Check pom.xml
116116
run: ./src/main/scripts/execute-command.sh check-pom
117117

118-
run-rflint:
119-
name: Run RobotFramework linter
120-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
121-
runs-on: ubuntu-20.04
122-
steps:
123-
- name: Clone source code
124-
uses: actions/checkout@v4.1.1 # https://github.com/actions/checkout
125-
with:
126-
# Whether to configure the token or SSH key with the local git config. Default: true
127-
persist-credentials: false
128-
- name: Install rflint
129-
run: >-
130-
pip3 install \
131-
--user \
132-
robotframework==3.2.2 \
133-
robotframework-lint==1.1
134-
- name: Run rflint
135-
run: ./src/main/scripts/execute-command.sh rflint
136-
137118
run-shellcheck:
138119
name: Run ShellCheck
139120
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on

src/main/scripts/execute-command.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,6 @@ case ${1:-} in
9292
--batch-mode \
9393
pmd:check
9494
;;
95-
'rflint')
96-
exec rflint \
97-
--error=all \
98-
--ignore TooFewKeywordSteps \
99-
--configure LineTooLong:130 \
100-
"$ROOTDIR/src/test/robotframework"
101-
;;
10295
'shellcheck')
10396
# Shellcheck doesn't support recursive scanning: https://github.com/koalaman/shellcheck/issues/143
10497
# Also I don't want to invoke it many times (slower, more code for handling failures), so I prefer this way.
@@ -138,7 +131,6 @@ case ${1:-} in
138131
echo >&2 '- integration-tests'
139132
echo >&2 '- jest'
140133
echo >&2 '- pmd'
141-
echo >&2 '- rflint'
142134
echo >&2 '- shellcheck'
143135
echo >&2 '- spotbugs'
144136
echo >&2 '- unit-tests'

0 commit comments

Comments
 (0)