Skip to content

Bump golang.org/x/net from 0.7.0 to 0.17.0 in /src (#27) #12

Bump golang.org/x/net from 0.7.0 to 0.17.0 in /src (#27)

Bump golang.org/x/net from 0.7.0 to 0.17.0 in /src (#27) #12

Workflow file for this run

name: goreleaser
on:
push:
tags:
- v*
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
cache: true
cache-dependency-path: src/go.sum
- name: Check GoReleaser Config
uses: goreleaser/goreleaser-action@v3
with:
distribution: goreleaser
version: latest
args: check
workdir: ./src
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
workdir: ./src
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}