Skip to content

feat: update the package path to the new location #4

feat: update the package path to the new location

feat: update the package path to the new location #4

Workflow file for this run

name: "tagged-release"
on:
push:
tags:
- "v*"
jobs:
build:
name: "Build & Unit Tests"
strategy:
matrix:
go-version: [1.18.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: true
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
stable: false
- name: Build
run: go build ./...
- name: Test
run: go test -race -failfast ./...
release:
needs: [build]
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Github Release from Tag
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE