provider-k3s/.github/workflows/pull_request.yaml
Nianyu Shen 153d95162a
fix: add log rotation and version in logging (#100)
* 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>
2025-01-27 21:43:30 -08:00

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 ./...