Skip to content

Add pylint github action file. #17

Add pylint github action file.

Add pylint github action file. #17

Workflow file for this run

# .github/workflows/main.yml
name: Main Workflow
on:
push:
branches:
- main
pull_request:
jobs:
prepare-variables-job:
runs-on: ubuntu-latest
outputs:
tensorflow_version: ${{ jobs.prepare-variables-job.outputs.tf_version }}

Check failure on line 15 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Main Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 15, Col: 27): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.prepare-variables-job.outputs.tf_version
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check folder
run: ls ./.github/workflows/
- id: prepare-variables-job
name: Prepare Variables
run: |
echo "##[set-output name=tf_version;]2.10.0"
call-setup-yml:
needs: prepare-variables-job
uses: ./.github/workflows/setup.yml
with:
tf_version: ${{ needs.prepare-variables-job.outputs.tensorflow_version }}