fix: show error message if duplicate sfn name (#582) #1389
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
name: Go | |
on: | |
push: | |
branches: [master, next, gh] | |
pull_request: | |
branches: [master, next, gh] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Test | |
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /example) | |
- name: Build | |
run: go build $(go list ./... | grep -v /example) | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
file: coverage.txt |