Skip to content

Commit 95bee29

Browse files
MagicalTuxclaude
andcommitted
Replace Travis CI with GitHub Actions
- Remove .travis.yml - Add GitHub Actions workflow testing Go 1.21-1.25 - Update README badges (GitHub Actions, pkg.go.dev) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c8d4306 commit 95bee29

3 files changed

Lines changed: 36 additions & 15 deletions

File tree

.github/workflows/test.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
go-version: ['1.21', '1.22', '1.23', '1.24', '1.25']
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Set up Go ${{ matrix.go-version }}
20+
uses: actions/setup-go@v5
21+
with:
22+
go-version: ${{ matrix.go-version }}
23+
24+
- name: Build
25+
run: go build -v ./...
26+
27+
- name: Test
28+
run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./...
29+
30+
- name: Upload coverage to Coveralls
31+
if: matrix.go-version == '1.24'
32+
uses: coverallsapp/github-action@v2
33+
with:
34+
file: coverage.out

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![Build Status](https://travis-ci.org/KarpelesLab/smartremote.svg)](https://travis-ci.org/KarpelesLab/smartremote)
2-
[![GoDoc](https://godoc.org/github.com/KarpelesLab/smartremote?status.svg)](https://godoc.org/github.com/KarpelesLab/smartremote)
1+
[![Test](https://github.com/KarpelesLab/smartremote/actions/workflows/test.yml/badge.svg)](https://github.com/KarpelesLab/smartremote/actions/workflows/test.yml)
2+
[![Go Reference](https://pkg.go.dev/badge/github.com/KarpelesLab/smartremote.svg)](https://pkg.go.dev/github.com/KarpelesLab/smartremote)
33
[![Coverage Status](https://coveralls.io/repos/github/KarpelesLab/smartremote/badge.svg?branch=master)](https://coveralls.io/github/KarpelesLab/smartremote?branch=master)
44

55
# SmartRemote

0 commit comments

Comments
 (0)