From 1754f7472f8b948368b092da8df92ca08eef9b27 Mon Sep 17 00:00:00 2001 From: Michael Fridman Date: Sat, 20 Aug 2022 10:53:04 -0400 Subject: [PATCH] Bump matrix to support latest go version (go1.19) (#231) * Bump matrix to support latest go version (go1.19) * Fix comment --- .github/workflows/build.yml | 2 +- cmd/jwt/main.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 984ab2da..8d4024ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - go: [1.16, 1.17, 1.18] + go: [1.17, 1.18, 1.19] steps: - name: Checkout uses: actions/checkout@v3 diff --git a/cmd/jwt/main.go b/cmd/jwt/main.go index 6dfdaa8b..2ca6488d 100644 --- a/cmd/jwt/main.go +++ b/cmd/jwt/main.go @@ -3,7 +3,8 @@ // // Example usage: // The following will create and sign a token, then verify it and output the original claims. -// echo {\"foo\":\"bar\"} | bin/jwt -key test/sample_key -alg RS256 -sign - | bin/jwt -key test/sample_key.pub -verify - +// +// echo {\"foo\":\"bar\"} | bin/jwt -key test/sample_key -alg RS256 -sign - | bin/jwt -key test/sample_key.pub -verify - package main import (