Skip to content

chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 #122

chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0

chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 #122

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ main ]
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Vet
run: go vet ./...
- name: Build
run: CGO_ENABLED=0 go build -ldflags="-s -w" -o build/rockpool . && ls -lh build/rockpool
publish-binary:
needs: test-build
runs-on: ubuntu-latest
if: startsWith(github.ref_name, 'v')
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Fetch all tags
run: git fetch --force --tags
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}