Skip to content

Merge pull request #37 from Ilyes512/add-build-github-action-badge #8

Merge pull request #37 from Ilyes512/add-build-github-action-badge

Merge pull request #37 from Ilyes512/add-build-github-action-badge #8

Workflow file for this run

name: Build Boilr
on:
pull_request:
push:
branches: [main]
permissions: read-all
jobs:
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
- 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 }}