Skip to content

Commit

Permalink
Migrate CI/CD from CircleCI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
logocomune committed Jun 15, 2024
1 parent 72e9f14 commit ad5aff1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 32 deletions.
20 changes: 0 additions & 20 deletions .circleci/config.yml

This file was deleted.

30 changes: 21 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ main ]
branches: [ "main" ]
pull_request:
branches: [ main ]
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21.3'

- name: Build
run: go build -v ./...

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic

- name: Test
run: go test -v ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: logocomune/maidenhead
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Maidenhead Locator for golang

[![CircleCI](https://circleci.com/gh/logocomune/maidenhead/tree/main.svg?style=svg)](https://circleci.com/gh/logocomune/maidenhead/tree/main)
[![Go Report Card](https://goreportcard.com/badge/github.com/logocomune/maidenhead)](https://goreportcard.com/report/github.com/logocomune/maidenhead)
[![codecov](https://codecov.io/gh/logocomune/maidenhead/branch/master/graph/badge.svg)](https://codecov.io/gh/logocomune/maidenhead)

![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/logocomune/maidenhead)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/logocomune/maidenhead/go.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/logocomune/maidenhead)](https://pkg.go.dev/github.com/logocomune/maidenhead)
[![codecov](https://codecov.io/gh/logocomune/maidenhead/graph/badge.svg?token=GGN3PHjyZV)](https://codecov.io/gh/logocomune/maidenhead)
[![Go Report Card](https://goreportcard.com/badge/github.com/logocomune/maidenhead)](https://goreportcard.com/report/github.com/maidenhead/maidenhead)

The [Maidenhead Locator System](https://en.wikipedia.org/wiki/Maidenhead_Locator_System)
(a.k.a. QTH Locator and IARU Locator) is a geocode system used by amateur radio operators
Expand Down

0 comments on commit ad5aff1

Please # to comment.