Skip to content

Use ghworkflow-python@devel #101

Use ghworkflow-python@devel

Use ghworkflow-python@devel #101

Workflow file for this run

---
name: CI
on: [ workflow_dispatch, push, pull_request ]
jobs:
omnilint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: docker://lpenz/omnilint:0.5.1
python:
uses: lpenz/ghworkflow-python/.github/workflows/python.yml@devel

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yml (Line: 11, Col: 11): Error from called workflow lpenz/ghworkflow-python/.github/workflows/python.yml@devel (Line: 174, Col: 13): Unrecognized named-value: 'python-version'. Located at position 21 within expression: inputs.coveralls && python-version == "3.12" In .github/workflows/ci.yml (Line: 11, Col: 11): Error from called workflow lpenz/ghworkflow-python/.github/workflows/python.yml@devel (Line: 179, Col: 13): Unrecognized named-value: 'python-version'. Located at position 19 within expression: inputs.codecov && python-version == "3.12"

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

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. In .github/workflows/ci.yml (Line: 11, Col: 11): Error from called workflow lpenz/ghworkflow-python/.github/workflows/python.yml@devel (Line: 174, Col: 13): Unexpected symbol: '"3'. Located at position 46 within expression: inputs.coveralls && matrix.python-version == "3.12" In .github/workflows/ci.yml (Line: 11, Col: 11): Error from called workflow lpenz/ghworkflow-python/.github/workflows/python.yml@devel (Line: 179, Col: 13): Unexpected symbol: '"3'. Located at position 44 within expression: inputs.codecov && matrix.python-version == "3.12"
with:
docs: false
coveralls: true
codecov: true
publish_pypi: true
publish_github_release: true
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix build
- run: nix flake check
publish-cachix:
needs: [ omnilint, python, nix ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- id: version
uses: docker://lpenz/ghaction-version-gen:0.13.5
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
skipPush: ${{ steps.version.outputs.version_commit == '' }}
name: lpenz
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build
- run: nix flake check