Skip to content

Merge pull request #39 from Ilyes512/use-golangci-lint-and-fixed-all-… #12

Merge pull request #39 from Ilyes512/use-golangci-lint-and-fixed-all-…

Merge pull request #39 from Ilyes512/use-golangci-lint-and-fixed-all-… #12

Workflow file for this run

name: Build Boilr
on:
pull_request:
push:
branches: [main]
permissions: read-all
jobs:
build:
name: build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Force fetch tags
run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: stable
check-latest: true
- name: Use Goreleaser for building Boilr
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: build --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}