Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .github/workflows/lint-test.yml

This file was deleted.

18 changes: 17 additions & 1 deletion .github/workflows/build-test.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
name: 🔨 Build Test
name: 🔨 Tests

on:
pull_request:
paths:
- '**.go'
- '**.mod'
- '.github/workflows/tests.yml'
push:
branches:
- dev
paths:
- '**.go'
- '**.mod'
- '.github/workflows/tests.yml'
workflow_dispatch:

jobs:
lint:
name: Lint Test
uses: projectdiscovery/workflows/.github/workflows/golangci-lint.yaml@v1
permissions:
contents: read
pull-requests: read

build:
name: Test Builds
needs: [lint]
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
3 changes: 1 addition & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ See `docs/GCP_ASSET_API.md` for detailed implementation guide.

## GitHub Actions CI

- **lint-test.yml**: Runs `golangci-lint` on Go code changes
- **build-test.yml**: Tests builds on Ubuntu, Windows, macOS with Go 1.22.x
- **tests.yml**: Runs `golangci-lint` on Go code changes, then tests builds on Ubuntu, Windows, macOS with the Go version in go.mod
- **release.yml**: Creates releases (binaries and Docker images) with GoReleaser

## Common Gotchas
Expand Down
Loading