Skip to content

Avoid bug with go 1.20 missing EOF new line #97

Avoid bug with go 1.20 missing EOF new line

Avoid bug with go 1.20 missing EOF new line #97

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.20"
- name: Build
run: go build -v ./...
- name: Test
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
go test -race -coverprofile=coverage.txt -covermode=atomic -count=100
bash <(curl -s https://codecov.io/bash)
- name: Usage Test
run: |
cd examples/tls_esme_usage/ && go run tls_esme_usage.go
cd ../simple_esme_usage && go run simple_esme_usage.go
cd ../custom_functions && go run deliver_sm_handler.go