facebookarchive / codemod

Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.
Apache License 2.0
4.11k stars 198 forks source link

Use GitHub Actions instead #120

Open smorimoto opened 3 years ago

smorimoto commented 3 years ago

This PR replaces TravisCI with GitHub Actions. ​The number of available builds for TravisCI has been decreasing lately, making a lot of sense to use GitHub Actions. ​This PR also fixes all flake8 errors at the same time. Well, it ignores the W503, but that's not a big problem at all. See: https://github.com/facebook/codemod/pull/120/commits/4ecce39f4720daf247bfbe36a488731d78c60f92#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R10-R16

smorimoto commented 3 years ago

GitHub Actions will not be enabled in this repository until you merge this PR, so it's not currently listed in the status, but you can see the last commit's build status here: https://github.com/smorimoto/codemod/actions/runs/364295743

smorimoto commented 3 years ago

@modocache By the way, I'm here to make some fixes and improvements, but if I open such a PR, would you review it? ​Or is this tool already in maintenance mode?

smorimoto commented 3 years ago

Just added a workflow to run CodeQL.