github.com/diadata-org/diadata@v1.4.593/.github/workflows/go-test.yml (about)

     1  name: Go package
     2  
     3  on:
     4    push:
     5    pull_request:
     6      branches:
     7        - test_pipeline_with_all_files
     8  
     9  jobs:
    10    build:
    11  
    12      runs-on: ubuntu-latest
    13      steps:
    14        - uses: actions/checkout@v3
    15  
    16        - name: Set up Go
    17          uses: actions/setup-go@v3
    18          with:
    19            go-version: 1.19
    20  
    21        - name: Build
    22          run: go build -v ./...
    23  
    24        - name: Test
    25          run: |
    26            cd internal/pkg/filtersBlockService/
    27            go install gotest.tools/gotestsum@latest
    28            gotestsum --format pkgname