Skip to content

Merge pull request #35 from Ilyes512/feature/add-github-actions #4

Merge pull request #35 from Ilyes512/feature/add-github-actions

Merge pull request #35 from Ilyes512/feature/add-github-actions #4

Workflow file for this run

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