Skip to content

Commit

Permalink
fix: various upgrades (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgb authored Dec 9, 2024
1 parent d170511 commit b9879b3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
builds:
- main: ./cmd/vault-plugin-auth-jwt-auto-roles/
env:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: start

GOFUMPT_VERSION ?= v0.5.0
GORELEASER_VERSION ?= 1.20.0
GOFUMPT_VERSION ?= v0.7.0
GORELEASER_VERSION ?= 2.4.8

.PHONY: fmt
fmt:
Expand All @@ -15,7 +15,7 @@ test:
.PHONY: build
build:
mkdir -p build/plugins
go run github.com/goreleaser/goreleaser@v$(GORELEASER_VERSION) \
go run github.com/goreleaser/goreleaser/v2@v$(GORELEASER_VERSION) \
build --clean --snapshot --single-target \
--output build/plugins/vault-plugin-auth-jwt-auto-roles

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/statnett/vault-plugin-auth-jwt-auto-roles

go 1.22

toolchain go1.23.3
go 1.23.0

require (
github.com/go-test/deep v1.1.1
Expand Down
3 changes: 1 addition & 2 deletions internal/jwtauth/role_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ package jwtauth

import (
"reflect"
"slices"
"strings"
"testing"

"slices"
)

func TestRoleIndexer(t *testing.T) {
Expand Down

0 comments on commit b9879b3

Please sign in to comment.