fix: remove dead GenerateRefreshToken calls (tokens never consumed)
This commit is contained in:
@@ -382,7 +382,7 @@ jobs:
|
||||
|
||||
test:
|
||||
name: Tests (${{ matrix.label }})
|
||||
needs: [go-vet-dev, go-vet-prod, go-lint, go-staticcheck-dev, go-staticcheck-prod, go-gosec-dev, go-gosec-prod, go-mod-tidy, vulns]
|
||||
needs: [secrets-scan, go-vet-dev, go-vet-prod, go-lint, go-staticcheck-dev, go-staticcheck-prod, go-gosec-dev, go-gosec-prod, go-mod-tidy, vulns]
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
@@ -449,7 +449,7 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
working-directory: backend
|
||||
run: go test -tags "${{ matrix.gotags }}" -count=1 -timeout 300s ${{ matrix.verbose }} ${{ matrix.coverflags }} ./...
|
||||
run: go test -tags "${{ matrix.gotags }}" -count=1 -timeout 1800s ${{ matrix.verbose }} ${{ matrix.coverflags }} ./...
|
||||
env:
|
||||
GO_TESTING: "1"
|
||||
POSTGRES_HOST: postgres
|
||||
@@ -466,9 +466,17 @@ jobs:
|
||||
echo "No coverage file generated"
|
||||
fi
|
||||
|
||||
- name: Upload coverage artifact
|
||||
if: matrix.label == 'dev'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: coverage-${{ matrix.label }}-${{ github.run_id }}
|
||||
path: backend/coverage.out
|
||||
if-no-files-found: warn
|
||||
|
||||
race:
|
||||
name: Race (${{ matrix.label }})
|
||||
needs: [go-vet-dev, go-vet-prod, go-lint, go-staticcheck-dev, go-staticcheck-prod, go-gosec-dev, go-gosec-prod, go-mod-tidy, vulns]
|
||||
needs: [secrets-scan, go-vet-dev, go-vet-prod, go-lint, go-staticcheck-dev, go-staticcheck-prod, go-gosec-dev, go-gosec-prod, go-mod-tidy, vulns]
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
@@ -531,7 +539,7 @@ jobs:
|
||||
|
||||
- name: Run race detector
|
||||
working-directory: backend
|
||||
run: go test -tags "${{ matrix.gotags }}" -race -count=1 -timeout 480s ./...
|
||||
run: go test -tags "${{ matrix.gotags }}" -race -count=1 -timeout 1800s ./...
|
||||
env:
|
||||
GO_TESTING: "1"
|
||||
POSTGRES_HOST: postgres
|
||||
|
||||
Reference in New Issue
Block a user