Skip to content

Add FC17 Read Server ID (0x11) #65

Add FC17 Read Server ID (0x11)

Add FC17 Read Server ID (0x11) #65

Workflow file for this run

name: Check and test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read # to fetch code (actions/checkout)
env:
# run coverage only with the latest Go version
LATEST_GO_VERSION: "1.21"
jobs:
test:
strategy:
matrix:
go-version: [ "1.19", "1.20", "1.21" ]
platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code of this branch
uses: actions/checkout@v3
- name: Execute Go lint, check, test
run: |
make init
make check
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
- name: Upload coverage to Codecov
if: success() && matrix.go == env.LATEST_GO_VERSION && matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: false