[Java] java deps upgrade to 2.11.0 #264
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: ubuntu-lint | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
Ubuntu-Lint: | |
timeout-minutes: 60 | |
runs-on: ubuntu-20.04 | |
container: docker.io/library/ubuntu:20.04 | |
steps: | |
# More detail see https://github.com/actions/checkout/issues/335. | |
- name: Init Before Check | |
run: | | |
apt-get update | |
apt-get install -yq git | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Init Env | |
run: | | |
apt-get update && DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get install -y tzdata | |
apt-get install -yq software-properties-common | |
add-apt-repository -y ppa:deadsnakes/ppa | |
apt-get install -yq openjdk-8-jdk wget gcc g++ python3.8 zlib1g-dev zip | |
apt-get install -yq python3-pip maven | |
pip install --upgrade click==8.0.2 | |
sh scripts/install-bazel.sh | |
- name: Prepare format tools | |
run: sh -c "bash scripts/prepare-format-tools.sh" | |
- name: Lint and Check | |
run: sh -c "bash scripts/format.sh" && sh -c "bash scripts/check-git-format-output.sh" |