fix(?): add auto login credentials to workflow #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: eWaterCycle/setup-apptainer@v2 | |
with: | |
apptainer-version: 1.3.0 | |
- name: Pulling Singularity container | |
run: singularity remote login --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} ghcr.io; singularity pull oras://ghcr.io/berenslab/retinal-rl:singularity-latest | |
- name: Run Pylint | |
run: singularity exec retinal-rl_singularity-image-latest.sif pylint $(git diff --name-only origin/master origin/feat-ci-pipeline -- '*.py') |