Skip to content

Fix CI

Fix CI #2

Workflow file for this run

# Copyright 2022 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Authors:
# - Paul Scheffler <[email protected]>
# - Thomas Benz <[email protected]>
name: analyze
on: [ push, pull_request, workflow_dispatch ]
jobs:
analyze-contributors:

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

View workflow run for this annotation

GitHub Actions / analyze

Invalid workflow file

The workflow is not valid. .github/workflows/analyze.yml (Line: 15, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: lint
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
-
name: Python Requirements
run: pip install -r requirements.txt
-
name: List contributors
run: scripts/list-contributors | tee contributions.txt
-
name: Upload contributions.txt
uses: actions/upload-artifact@v2
with:
name: contributions
path: contributions.txt
retention-days: 7
analyze-todos:
runs-on: ubuntu-latest
needs: lint
continue-on-error: true
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
-
name: Python Requirements
run: pip install -r requirements.txt
-
name: List todos
run: scripts/list-todos | tee open_todos.txt
-
name: Upload todos.txt
uses: actions/upload-artifact@v2
with:
name: open_todos
path: open_todos.txt
retention-days: 7