Merge pull request #379 from gofiber/dependabot/go_modules/pug/go_mod… #106
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
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'pug/**' | |
pull_request: | |
branches: | |
- '*' | |
paths: | |
- 'pug/**' | |
name: Tests Pug | |
jobs: | |
Tests: | |
strategy: | |
matrix: | |
go-version: | |
- 1.17.x | |
- 1.18.x | |
- 1.19.x | |
- 1.20.x | |
- 1.21.x | |
- 1.22.x | |
platform: [ ubuntu-latest, windows-latest ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '${{ matrix.go-version }}' | |
- name: Run Test | |
run: cd ./pug && go test ./... -race -v |