diff --git a/.github/workflows/classroom.yml b/.github/workflows/classroom.yml index 0352cb6..dca83b0 100644 --- a/.github/workflows/classroom.yml +++ b/.github/workflows/classroom.yml @@ -1,21 +1,19 @@ -name: Build and Test +name: GitHub Classroom Workflow on: - push: - branches: [ main ] + - push + - workflow_dispatch -jobs: +permissions: + checks: write + actions: read + contents: read +jobs: build: name: Autograding runs-on: ubuntu-latest + if: github.actor != 'github-classroom[bot]' steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python3 -m pip install --upgrade pip - pip install -r requirements.txt --quiet - - uses: Bioinformatics-teaching/classroom_autograding@main + - uses: actions/checkout@v4 + - uses: education/autograding@v1