Skip to content

nysiis

nysiis #3

Workflow file for this run

name: Release
on:
push:
tags:
- v[0-9]+.*
jobs:
audit:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Verify dependencies
run: go mod verify
- name: Build
run: go build -v ./...
- name: Run go vet
run: go vet ./...
- name: Run tests
run: go test -race -vet=off ./...
create-release:
needs: audit
if: github.repository_owner == '0xnu'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
branch: main
token: ${{ secrets.OXNU_TOKEN }}