[native] Convert CircleCI jobs for PrestoC++ to Github actions #8
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: format-check | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'presto-native-execution/**' | |
jobs: | |
format-check: | |
runs-on: ubuntu-latest | |
container: | |
image: public.ecr.aws/oss-presto/velox-dev:check | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- name: Fix git permissions | |
# Usually actions/checkout does this but as we run in a container | |
# it doesn't work | |
run: git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
- name: Check formatting | |
run: | | |
git fetch origin master | |
cd presto-native-execution | |
make format-check |