Skip to content

ci: Add initial CI

ci: Add initial CI #9

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: rdf-protect
on:
push:
branches:
- main
- "feat/*"
- "fix/*"
pull_request:
branches:
- main
jobs:
format:
runs-on: ubuntu-latest
container:
image: ghcr.io/sdsc-ordes/rdf-protect:ci-format-1.0.0
steps:
- source .gitlab/scripts/before-script.sh &&

Check failure on line 21 in .github/workflows/pipeline.yaml

View workflow run for this annotation

GitHub Actions / rdf-protect

Invalid workflow file

The workflow is not valid. .github/workflows/pipeline.yaml (Line: 21, Col: 9): Unexpected value 'source .gitlab/scripts/before-script.sh && just nix-develop-ci just format' .github/workflows/pipeline.yaml (Line: 29, Col: 9): Unexpected value 'source .gitlab/scripts/before-script.sh && just nix-develop-ci just lint'
just nix-develop-ci just format
lint:
runs-on: ubuntu-latest
container:
image: ghcr.io/sdsc-ordes/rdf-protect:ci-lint-1.0.0
steps:
- source .gitlab/scripts/before-script.sh &&
just nix-develop-ci just lint
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/sdsc-ordes/rdf-protect:ci-build-1.0.0
steps:
- source .gitlab/scripts/before-script.sh &&
just nix-develop-ci just lint