Skip to content

Bump setuptools from 62.4.0 to 70.0.0 in /src #111

Bump setuptools from 62.4.0 to 70.0.0 in /src

Bump setuptools from 62.4.0 to 70.0.0 in /src #111

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: x64
- name: Install tools
run: |
mkdir -p temp
python --version
curl -Lo temp/bazel "https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64"
chmod +x temp/bazel
curl -Lo temp/buildifier "https://github.com/bazelbuild/buildtools/releases/download/5.1.0/buildifier-linux-amd64"
chmod +x temp/buildifier
pip install black==22.3.0
pip install -r src/requirements.txt
- name: Style
run: |
temp/buildifier -mode=check $(find . -type f -name '*.bzl' -o -name WORKSPACE -o -name BUILD)
black --check --exclude 'third_party' .
- name: Check third party python packages
run: |
bin/update-reqs
git status -u --porcelain
test -z "$(git status -u --porcelain)"
- name: Test Rules
run: |
temp/bazel info
temp/bazel build //...
temp/bazel test //...
- name: Test Examples
working-directory: examples
run: |
../temp/bazel info
../temp/bazel build //...
../temp/bazel test //...