mirror of
https://github.com/kairos-io/provider-k3s.git
synced 2025-04-27 19:05:39 +00:00
* fix: add log rotation and version in logging Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com> * ci: use 22.04 ubuntu runner Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com> --------- Signed-off-by: Nianyu Shen <xiaoyu9964@gmail.com>
27 lines
470 B
YAML
27 lines
470 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- 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-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: go test ./... |