Skip to content

Commit

Permalink
CI: switch from Travis CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oxzi committed Jun 16, 2023
1 parent 6622925 commit b6050e9
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 22 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request]

jobs:
golang:
name: Build and test

runs-on: ubuntu-latest

strategy:
matrix:
go: [ '1.20' ]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

- run: go version
- run: go build ./...
- run: go test -race ./...

- uses: golangci/golangci-lint-action@v3
with:
skip-pkg-cache: true
skip-build-cache: true
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog][keep-a-changelog], and this project ad
- Adapted the [Keep a Changelog][keep-a-changelog] format and created a changelog from prior git tags.
- Changed default branch from `master` to `main`.
- Bumped dependencies.
- Switched CI from Travis CI to GitHub Actions.

### Fixed
- Restored compatibility with rf95modem upstream code, version 0.7.3 including later commits.
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# rf95modem-go

[![Go Reference](https://pkg.go.dev/badge/github.com/dtn7/rf95modem-go/rf95.svg)][godoc]
[![Build Status](https://travis-ci.org/dtn7/rf95modem-go.svg?branch=master)][travis]
![CI](https://github.com/dtn7/rf95modem-go/workflows/CI/badge.svg)

Golang library to send and receive data over LoRa PHY via a serial connection to a [rf95modem].

Expand Down Expand Up @@ -168,4 +168,3 @@ $ screen /dev/pts/7
[rf95modem]: https://github.com/gh0st42/rf95modem
[rf95modem-commit]: https://github.com/gh0st42/rf95modem/commit/117878a4b609f9488ad8d5176f98067b9e8baa01
[rf95modem-pr16]: https://github.com/gh0st42/rf95modem/pull/16
[travis]: https://travis-ci.org/dtn7/rf95modem-go

0 comments on commit b6050e9

Please sign in to comment.