Skip to content

Commit

Permalink
Merge pull request #87 from bodgit/misc-updates
Browse files Browse the repository at this point in the history
Misc updates
  • Loading branch information
bodgit committed Oct 29, 2022
2 parents 35a03f8 + bf302f2 commit b1d48dd
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 9 deletions.
20 changes: 20 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
changelog:
exclude:
labels:
- ignore-for-release
categories:
- title: Breaking Changes
labels:
- breaking-change
- title: New Features
labels:
- enhancement
- title: Bug Fixes
labels:
- bug
- title: Documentation
labels:
- documentation
- title: Other Changes
labels:
- "*"
42 changes: 35 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
---
name: build
on: [push, pull_request]
on:
push:
tags:
- v*
branches:
- main
- master
pull_request:
permissions:
contents: write
pull-requests: read
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.16'
- '1.17'
- '1.18'
- '1.19'
env:
DNS_HOST: ns.example.com
DNS_REALM: EXAMPLE.COM
Expand Down Expand Up @@ -52,13 +63,30 @@ jobs:
- name: Merge coverage reports
run: gocovmerge gokrb5.out apcera.out >cover.out
- name: Send coverage
run: goveralls -coverprofile=cover.out -service=github
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out
flag-name: Go-${{ matrix.go }}
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1
with:
parallel-finished: true
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3.2.0
with:
version: latest
args: release
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ builds:
- skip: true
release:
prerelease: auto
changelog:
use: github-native
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[![Coverage Status](https://coveralls.io/repos/github/bodgit/tsig/badge.svg?branch=master)](https://coveralls.io/github/bodgit/tsig?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/bodgit/tsig)](https://goreportcard.com/report/github.com/bodgit/tsig)
[![GoDoc](https://godoc.org/github.com/bodgit/tsig?status.svg)](https://godoc.org/github.com/bodgit/tsig)
![Go version](https://img.shields.io/badge/Go-1.17-brightgreen.svg)
![Go version](https://img.shields.io/badge/Go-1.16-brightgreen.svg)
![Go version](https://img.shields.io/badge/Go-1.19-brightgreen.svg)
![Go version](https://img.shields.io/badge/Go-1.18-brightgreen.svg)

# Additional TSIG methods

Expand Down
1 change: 1 addition & 0 deletions gss/apcera.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows && apcera
// +build !windows,apcera

package gss
Expand Down
1 change: 1 addition & 0 deletions gss/apcera_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows && apcera
// +build !windows,apcera

package gss
Expand Down
1 change: 1 addition & 0 deletions gss/gokrb5.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows && !apcera
// +build !windows,!apcera

package gss
Expand Down
1 change: 1 addition & 0 deletions gss/gokrb5_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !windows && !apcera
// +build !windows,!apcera

package gss
Expand Down
1 change: 1 addition & 0 deletions gss/sspi.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build windows
// +build windows

package gss
Expand Down

0 comments on commit b1d48dd

Please sign in to comment.