Skip to content

test(config): choose iface dynamically #25

test(config): choose iface dynamically

test(config): choose iface dynamically #25

Workflow file for this run

name: CI
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Test with the Go CLI
run: go test ./...
build:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
# Required to build changeleg
- name: Unshallow
run: git fetch --prune --unshallow
# Setup go
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
# Runs the goreleaser
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: v1.6.3
args: release --rm-dist
key: ${{ secrets.YOUR_PRIVATE_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}