Skip to content

build(deps): bump github.com/alecthomas/kong from 1.2.1 to 1.3.0 #153

build(deps): bump github.com/alecthomas/kong from 1.2.1 to 1.3.0

build(deps): bump github.com/alecthomas/kong from 1.2.1 to 1.3.0 #153

Workflow file for this run

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@v4
with:
name: binaries
- uses: softprops/[email protected]
with:
fail_on_unmatched_files: true
files: |
wesher-*
wesher.sha256sums