Bump github.com/gofiber/fiber/v2 from 2.52.2 to 2.52.3 in /examples #399
Workflow file for this run
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: PR Validation | |
on: pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.22" | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.56.2 | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.22" | |
- name: Run fmt | |
run: | | |
make fmt | |
- name: Check if working tree is dirty | |
run: | | |
if [[ $(git status --porcelain) ]]; then | |
git diff | |
echo 'run make fmt and commit changes' | |
exit 1 | |
fi | |
build-examples: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.22" | |
- name: Run build-examples | |
run: | | |
make build-examples | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.22" | |
- name: Run test | |
run: | | |
make test | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Setup go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "^1.22" | |
- name: coverage | |
env: | |
CI: true | |
run: | | |
make cover | |
- name: Send coverage to coverall | |
uses: shogo82148/[email protected] | |
with: | |
path-to-profile: tmp/coverage_merged.out | |
ignore: internal/oidctesting |