mirror of
https://github.com/kairos-io/kcrypt.git
synced 2025-05-13 02:47:09 +00:00
29 lines
563 B
YAML
29 lines
563 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths:
|
|
- '**'
|
|
env:
|
|
FORCE_COLOR: 1
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install Go
|
|
uses: actions/setup-go@v4
|
|
- name: Install earthly
|
|
uses: Luet-lab/luet-install-action@v1
|
|
with:
|
|
repository: quay.io/kairos/packages
|
|
packages: utils/earthly
|
|
- name: Run Lint checks
|
|
run: |
|
|
earthly +lint
|