Skip to content

Commit

Permalink
gha lint
Browse files Browse the repository at this point in the history
  • Loading branch information
driazati committed Jan 13, 2022
1 parent 5f828a6 commit 894edce
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# GH actions.
# We use it to cover windows and mac builds
# Jenkins is still the primary CI

name: Lint

on:
push:
pull_request:

concurrency:
group: Lint-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
fetch-depth: 2
# - name: Set up Docker Buildx
# run: |
# sudo apt install -y docker.io
- name: Run lint
run: |
python3 tests/scripts/ci.py lint

0 comments on commit 894edce

Please sign in to comment.