Merge branch 'master' into master

This commit is contained in:
Sadman Sakib 2021-05-27 19:10:33 +06:00 committed by GitHub
commit 4cae1fe16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

27
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: build
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14, 1.15, 1.16]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Build
run: |
go vet ./...
go test -v ./...
go build ./...

1
go.mod
View File

@ -1,3 +1,4 @@
module github.com/golang-jwt/jwt module github.com/golang-jwt/jwt
go 1.14 go 1.14