Update module golang.org/x/net to v0.17.0 [SECURITY] #896
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: Syntax Check and Unit Test on libclient-py | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- "release/**" | |
defaults: | |
run: | |
working-directory: ./packages/client/libclient-py/ | |
jobs: | |
# syntaxのチェック | |
syntax_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: | | |
pip install tox | |
tox -e flake8,mypy --notest --skip-pkg-install | |
- name: Lint with flake8 | |
run: | | |
tox -e flake8 --skip-pkg-install | |
- name: Lint with mypy | |
run: | | |
tox -e mypy --skip-pkg-install | |
# unit_test | |
unit_tests: | |
runs-on: ubuntu-latest | |
needs: syntax_check | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
[ | |
{ python: 3.7, tox: py37 }, | |
{ python: 3.8, tox: py38 }, | |
{ python: 3.9, tox: py39 }, | |
] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.version.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.version.python }} | |
- name: Install dependencies | |
run: | | |
pip install tox | |
tox -e ${{ matrix.version.tox }} --notest --skip-pkg-install | |
- name: Test with pytest | |
run: | | |
tox -e ${{ matrix.version.tox }} --skip-pkg-install |