mirror of
https://github.com/kairos-io/provider-k3s.git
synced 2025-10-21 21:49:02 +00:00
* fix: set 'cluster-init: false' when explicitly disabled via ProviderOptions * ci: run unit tests --------- Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com>
27 lines
472 B
YAML
27 lines
472 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: docker-practice/actions-setup-docker@master
|
|
- uses: earthly/actions-setup@v1
|
|
with:
|
|
version: "v0.6.30"
|
|
- run: earthly --ci +lint
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: go test ./... |