Skip to content

ci: test e2e with harbor #141

ci: test e2e with harbor

ci: test e2e with harbor #141

Workflow file for this run

name: CI - Pull Request
on:
pull_request:
branches:
- master
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
defaults:
run:
shell: nix develop --command bash {0}
steps:
- name: Fetch code
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Configure Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run lint
run: |
just lint
pre-commit:
name: Pre-commit
runs-on: ubuntu-latest
defaults:
run:
shell: nix develop --command bash {0}
steps:
- name: Fetch code
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Configure Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run pre-commit
run: |
pre-commit run -a
build-and-test:
name: Build and test
runs-on: ubuntu-latest
defaults:
run:
shell: nix develop --command bash {0}
steps:
- name: Fetch code
uses: actions/checkout@v4
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Configure Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run tests
run: |
just test
env:
SECURE_API_TOKEN: ${{ secrets.KUBELAB_SECURE_API_TOKEN }}
SECURE_URL: ${{ vars.SECURE_URL }}