Migrate circleci worklfows to github actions #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: header-check | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
header-check: | |
runs-on: ubuntu-latest | |
container: | |
image : ghcr.io/facebookincubator/velox-dev:check-avx | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Check license headers | |
run: | | |
if ! make header-check; then | |
make header-fix | |
echo -e "\n==== Apply using:" | |
echo "patch -p1 \<<EOF" | |
git --no-pager diff | |
echo "EOF" | |
false | |
fi |