Merge pull request #771 from gofiber/dependabot/go_modules/paseto/git… #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Test paseto" | |
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'paseto/**' | |
pull_request: | |
paths: | |
- 'paseto/**' | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: | |
- 1.18.x | |
- 1.19.x | |
- 1.20.x | |
- 1.21.x | |
steps: | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '${{ matrix.go-version }}' | |
- name: Run Test | |
working-directory: ./paseto | |
run: go test -v -race ./... |