Skip to content

bertin/gc-114-cli-increase-low-resources #651

bertin/gc-114-cli-increase-low-resources

bertin/gc-114-cli-increase-low-resources #651

Workflow file for this run

name: cli-pr
on:
pull_request:
push:
branches:
- main
concurrency:
cancel-in-progress: true
group: ${{ github.ref_name }}
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
if: ${{ github.event_name == 'pull_request' }}
name: Dependency Review
uses: actions/dependency-review-action@v3
with:
fail-on-severity: low
-
name: Set up Go
uses: actions/setup-go@v4
with:
cache: true
go-version-file: go.mod
cache-dependency-path: go.sum
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: ~> 1.18
args: build --snapshot --clean
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SEGMENT_WRITE_KEY: ${{ secrets.SEGMENT_WRITE_KEY }}