fix: update examples to v3 #98
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: Run Tests | |
# Triggers the workflow on push or pull request events | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go: [ '1.18', '1.19', '1.20', '1.21' ] | |
runs-on: ubuntu-20.04 | |
name: Go ${{ matrix.go }} Tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Run all tests | |
run: go test -v github.com/vividvilla/simplesessions... | |
- name: Run Coverage | |
run: go test -v -cover ./... |