build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 #136
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: [push, pull_request] | |
jobs: | |
test: | |
env: | |
LATEST_GO: 1.19.x # version used for release | |
strategy: | |
matrix: | |
go: [ 1.18.x, 1.19.x ] | |
os: [ ubuntu-latest ] | |
name: ${{ matrix.os }}/go${{ matrix.go }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: go test -race -v ./... | |
- run: make e2e | |
- run: make release GOARCHES="amd64 arm arm64 mips mipsle mips64 mips64le" | |
- name: Upload binary artifacts | |
uses: actions/upload-artifact@v3 | |
if: matrix.go == env.LATEST_GO | |
with: | |
name: binaries | |
path: | | |
wesher-* | |
wesher.sha256sums | |
release: | |
name: release | |
needs: test | |
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'costela/wesher' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/download-artifact@v3 | |
with: | |
name: binaries | |
- uses: softprops/[email protected] | |
with: | |
fail_on_unmatched_files: true | |
files: | | |
wesher-* | |
wesher.sha256sums | |