Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release action #27

Merged
merged 7 commits into from
Jan 10, 2021
Merged

Fix release action #27

merged 7 commits into from
Jan 10, 2021

Conversation

rickstaa
Copy link
Member

The release GitHub action appears to be broken as the branch name that is used is wrong. This pull request fixes this.

This commit replaces the javascript-based action with a composite gh action.
This was done since the javascript had several downsides:
 - Debugging unnecessarily complicated since multiple bash commands were executed
 inside subshells.
 - Maintainers needed to remember to build the javascript package before deploying.

This commit contains the following breaking changes:
 - It does no longer support windows. This, however, can be easily added might
 somebody need it.
 - This version depricates the (redundant)`update_pip, install_deps, dev_install,
 req_file_path, flake8_version, exclude, ignore, max_line_length` action input
 arguments.
Github was not really happy with the gh-action agent creating this many
annotations. I therfore now only test the action with the python 3.8. We
might have to update this in the future.
This commit makes sure the reviewdog binary is removed after the main
action has run. It further contains some small bug fixes and
documentation changes.
@rickstaa rickstaa added the bump:major Bump the major version on pull request label Jan 10, 2021
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

flake8

testdata/subfolder/queen_problem.py|40 col 11| at least two spaces before inline comment
testdata/subfolder/queen_problem.py|40 col 57| no newline at end of file

testdata/syntax_err.py Show resolved Hide resolved
testdata/syntax_err.py Show resolved Hide resolved
testdata/num_guess.py Show resolved Hide resolved
testdata/num_guess.py Show resolved Hide resolved
testdata/num_guess.py Show resolved Hide resolved
testdata/subfolder/queen_problem.py Show resolved Hide resolved
testdata/subfolder/queen_problem.py Show resolved Hide resolved
testdata/subfolder/queen_problem.py Show resolved Hide resolved
testdata/subfolder/queen_problem.py Show resolved Hide resolved
testdata/subfolder/queen_problem.py Show resolved Hide resolved
@rickstaa rickstaa merged commit 6146a50 into master Jan 10, 2021
@rickstaa rickstaa deleted the fix_release_action branch January 10, 2021 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump:major Bump the major version on pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant