Skip to content

fix workflow file

fix workflow file #3

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
pull_request:
jobs:
# TODO: run tests in a container
# test:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Run test script
# run: ./scripts/test.sh
build:

Check failure on line 19 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Build and Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 19, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: test
env:
QUAY_USERNAME: chroot.club+cro_robot_rw
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build and push container
run: ./scripts/cibuild.sh container