Skip to content

init

init #1

Workflow file for this run

exname: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 1, Col: 1): Unexpected value 'exname'
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8.0.0
with:
version: latest
args: --timeout 5m
working-directory: .
test:
name: Test
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Test
run: go test ./... -v
- name: Lint fingerprints_data.json
run: go run internal/pipeline/lint.go kitsune/fingerprints_data.json
# Only run lint-fingerprints on the checked-in fingerprints_data.json
# Remove any normalization or update steps