Merge pull request #34 from kuidio/genericbe #1
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
# Copyright 2024 Nokia | |
# Licensed under the Apache License 2.0 | |
# SPDX-License-Identifier: Apache-2.0 | |
--- | |
name: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
- "!releases/**" | |
env: | |
GOVER: 1.22.2 | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GOVER }} | |
- run: go test -cover ./... | |
env: | |
CGO_ENABLED: 0 | |
# run staticcheck |