Skip to content

Security Fix: Non-linear parsing of case-insensitive content in golan… #24

Security Fix: Non-linear parsing of case-insensitive content in golan…

Security Fix: Non-linear parsing of case-insensitive content in golan… #24

name: Validating Release of GDG on Tag
on:
push:
branches:
- main
jobs:
validate_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.1'
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ghcr.io
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: "~> v2" ## or latest, nightly
args: build --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}