Skip to content

Commit

Permalink
Merge branch 'master' into fix-typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie authored Jun 24, 2024
2 parents e097275 + c18d387 commit 0ed2b3b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,22 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/setup-go@v1
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.17"
- name: Build native
go-version: "1.22"
- name: Setup CGO Environment
run: |
if [ ${{ matrix.os }} == 'macOS-latest' ] ; then
echo "CGO_ENABLED=1" >> "$GITHUB_ENV"
fi
shell: bash
- name: Build AMD64
run: GOARCH=amd64 go build -v ./...
shell: bash
- name: Build ARM64
run: GOARCH=arm64 go build -v ./...
shell: bash
- name: Install socat
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install socat
Expand Down Expand Up @@ -51,10 +60,10 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v1
- uses: actions/setup-go@v1
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.17"
go-version: "1.22"
- name: Cross-build
run: |
set ${{ matrix.go-os-pairs }}
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

# go.bug.st/serial

A cross-platform serial library for go-lang.
A cross-platform serial port library for Go.

## Documentation and examples

See the godoc here: https://godoc.org/go.bug.st/serial
See the package documentation here: https://pkg.go.dev/go.bug.st/serial

## go.mod transition

This library now support `go.mod` with the import `go.bug.st/serial`.
This library supports `go.mod` with the import `go.bug.st/serial`.

If you came from the pre-`go.mod` era please update your import paths from `go.bug.st/serial.v1` to `go.bug.st/serial` to receive new updates. Anyway, the latest `v1` release should still be available using the old import.
If you came from the pre-`go.mod` era please update your import paths from `go.bug.st/serial.v1` to `go.bug.st/serial` to receive updates. The latest `v1` release is still available using the old import path.

## Credits

:sparkles: Thanks to all awesome [contributors]! :sparkles:

## License

The software is release under a [BSD 3-clause license]
This software is released under the [BSD 3-clause license].

[contributors]: https://github.com/bugst/go-serial/graphs/contributors
[BSD 3-clause license]: https://github.com/bugst/go-serial/blob/master/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion portlist/portlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// Port: /dev/cu.usbmodemFD121
// USB ID 2341:8053
// USB serial FB7B6060504B5952302E314AFF08191A
//

package main

import (
Expand Down

0 comments on commit 0ed2b3b

Please sign in to comment.