Skip to content

fix:test asdu UnmarshalBinary failed #3

fix:test asdu UnmarshalBinary failed

fix:test asdu UnmarshalBinary failed #3

Workflow file for this run

name: Go Test
on:
push:
branches:
- master
paths-ignore:
- 'docs/**'
- '**/*.md'
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
- '**/*.md'
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install Dependencies
run: go mod tidy
- name: Build
run: go build -v ./...
- name: Run tests
run: go test -v ./tests/...