Skip to content

fix: lint issues

fix: lint issues #18

Workflow file for this run

name: ci
on:
push:
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
env:
CODECOV_FILE: "${{ env.GITHUB_WORKSPACE }}/build/coverage.xml"

Check failure on line 11 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 11, Col: 21): Unrecognized named-value: 'env'. Located at position 1 within expression: env.GITHUB_WORKSPACE
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: Generate
run: make generate format
- name: No changed files
run: git diff --name-status --exit-code
- name: Lint
run: make lint
- name: Integration test
run: make integration-test coverage
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: ${{ env.CODECOV_FILE }}
badge: true
indicators: true
format: markdown
output: both
image-build:
name: Image Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build images
uses: hiberbee/[email protected]
with:
skaffold-version: 2.14.1
command: build
file-output: images.json
- name: Archive image tags
uses: actions/upload-artifact@v4
with:
name: images
path: images.json