name: 🔨 Release Test

on:
  pull_request:
    paths:
      - '**.go'
      - '**.mod'
  workflow_dispatch:

jobs:
  release-test:
    runs-on: ubuntu-latest-16-cores
    steps:
      - name: "Check out code"
        uses: actions/checkout@v6
        with:
          fetch-depth: 0

      - uses: projectdiscovery/actions/setup/go@v1

      - name: release test
        uses: projectdiscovery/actions/goreleaser@v1
