Skip to content

Add pylint github action file. #32

Add pylint github action file.

Add pylint github action file. #32

Workflow file for this run

# .github/workflows/main.yml
name: Main Workflow
on:
push:
branches:
- main
pull_request:
jobs:
prepare-variables-job:
# strategy:
# matrix:
# tf_version: ['2.10.0', '2.11.0', '2.13.0']
# python_version: ['3.8', '3.9', '3.10']
runs-on: ubuntu-latest
outputs:
tensorflow_version: ${{ steps.prepare-variables.outputs.tf_version }}
python_version: ${{ steps.prepare-variables.outputs.py_version }}
steps:
- id: prepare-variables
name: Prepare Variables
run: |
# echo "tf_version=${{ matrix.tf_version }}" >> $GITHUB_OUTPUT
# echo "py_version=${{ matrix.python_version }}" >> $GITHUB_OUTPUT
echo "tf_version='2.10'" >> $GITHUB_OUTPUT
echo "py_version='3.8'" >> $GITHUB_OUTPUT
call-setup-yml:
needs: prepare-variables-job
uses: ./.github/workflows/setup.yml
with:
tf_version: ${{ needs.prepare-variables-job.outputs.tensorflow_version }}
py_version: ${{ needs.prepare-variables-job.outputs.python_version }}