feat(middleware): Validate user on all endpoints #1157
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: Test the code | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: "1.21" | |
- uses: actionsx/prettier@v3 | |
with: | |
args: --check . | |
- name: Run Go tests | |
run: go test -v ./... |