Skip to content

Commit

Permalink
Update Travis to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Dec 20, 2024
1 parent 38d53d9 commit 4ec570d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 25 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: stable
- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.2
env:
GO111MODULE: on
- name: Run goclean.sh
run: ./goclean.sh
env:
GO111MODULE: on
- name: Go Install
run: go install .
env:
GO111MODULE: on
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dnsseeder
=========
[![Build Status](https://travis-ci.org/gcash/dnsseeder.png?branch=master)](https://travis-ci.org/gcash/dnsseeder)

[![Build Status](https://github.com/gcash/dnsseeder/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/gcash/dnsseeder/actions/workflows/main.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/gcash/dnsseeder)](https://goreportcard.com/report/github.com/gcash/dnsseeder)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/gcash/dnsseeder)
Expand Down

0 comments on commit 4ec570d

Please sign in to comment.