Skip to content

fnapi: print full url on error #6731

fnapi: print full url on error

fnapi: print full url on error #6731

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- "*"
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
runs-on:
- nscloud-ubuntu-22.04-amd64-8x16-with-cache
- nscloud-cache-size-5gb
- nscloud-cache-tag-foundation-golang
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: Setup runner cache
run: |
mkdir -p /cache/gocache/go-build
mkdir -p /cache/gocache/go/pkg/mod
- name: Test
run: go test ./...
env:
GOCACHE: "/cache/gocache/go-build"
GOMODCACHE: "/cache/gocache/go/pkg/mod"
- name: Check Go Formatting
run: go fmt ./... && git diff --exit-code
env:
GOCACHE: "/cache/gocache/go-build"
GOMODCACHE: "/cache/gocache/go/pkg/mod"
- name: Check Go Mod Tidyness
run: go mod tidy && git diff --exit-code
env:
GOCACHE: "/cache/gocache/go-build"
GOMODCACHE: "/cache/gocache/go/pkg/mod"
- name: Breakpoint on failure
if: failure() && github.ref_name == 'main'
uses: namespacelabs/breakpoint-action@v0
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
duration: 15m
authorized-users: edganiukov,hugosantos,n-g,htr,nichtverstehen,gmichelo
slack-announce-channel: "#ci"