Skip to content

add pass job to GitHub Actions workflow for improved job tracking #6

add pass job to GitHub Actions workflow for improved job tracking

add pass job to GitHub Actions workflow for improved job tracking #6

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/[email protected]
with:
extra_args: --all-files --hook-stage manual check-manifest
tests:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install package
run: python -m pip install -e .[test]
- name: Test package
run: python -m pytest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
pass:

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 39, Col: 1): Unexpected value 'pass'
if: always()
needs: [lint, tests]
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}