Skip to content

feat(middleware/auth/temporary): 现在可通过查询参数传递令牌 #236

feat(middleware/auth/temporary): 现在可通过查询参数传递令牌

feat(middleware/auth/temporary): 现在可通过查询参数传递令牌 #236

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
go: ['1.22.x', '1.23.x']
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go
- name: Vet
run: go vet -v ./...
- name: Test
env:
LANG: en
run: go test -p=1 -parallel=1 -v -coverprofile='coverage.txt' -covermode=atomic ./...
- name: Upload Coverage report
uses: codecov/codecov-action@v4
with:
file: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}