Skip to content

feat: add devbox command #8301

feat: add devbox command

feat: add devbox command #8301

Workflow file for this run

name: "Linting"
on:
pull_request:
types:
- opened
- edited
- synchronize
permissions:
contents: read
pull-requests: read
jobs:
lint-openapi:
name: Lint OpenAPI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: OpenAPI Lint Checks
uses: char0n/swagger-editor-validate@v1
with:
definition-file: api/v1/testkube.yaml
lint-go:
name: Lint Go
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Go Cache
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Lint using golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=5m
only-new-issues: true