Skip to content

Commit

Permalink
ci: simplify github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmCherry committed Aug 4, 2024
1 parent cd471f6 commit 69c65d4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 32 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Go

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

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.x'
- name: Test
run: go test -v ./...
31 changes: 0 additions & 31 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# movavg

[![Go Reference](https://pkg.go.dev/badge/github.com/mxmCherry/movavg.svg)](https://pkg.go.dev/github.com/mxmCherry/movavg)
[![Test](https://github.com/mxmCherry/movavg/actions/workflows/test.yml/badge.svg)](https://github.com/mxmCherry/movavg/actions/workflows/test.yml)
[![Test](https://github.com/mxmCherry/movavg/actions/workflows/go.yml/badge.svg)](https://github.com/mxmCherry/movavg/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/mxmCherry/movavg)](https://goreportcard.com/report/github.com/mxmCherry/movavg)

[Moving Average](https://en.wikipedia.org/wiki/Moving_average) calculator for Go (Golang) with focus on performance.
Expand Down

0 comments on commit 69c65d4

Please sign in to comment.