Skip to content

Commit

Permalink
Replaced wercker CI (now defunct) with github actions (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: Hafiz Ismail <hafiz@wehavefaces.net>
  • Loading branch information
sogko committed Oct 16, 2023
1 parent 92dce23 commit bbe0a3e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 24 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Go

on:
push:
branches: ['*']
tags: ['v*']
pull_request:
branches: ['*']

jobs:

build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
go: ['stable']

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
cache: false
go-version: ${{ matrix.go }}

- name: Download Dependencies
run: go mod download

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

- name: Test
run: go test -v ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Inflection pluralizes and singularizes English nouns

[![wercker status](https://app.wercker.com/status/f8c7432b097d1f4ce636879670be0930/s/master "wercker status")](https://app.wercker.com/project/byKey/f8c7432b097d1f4ce636879670be0930)
[![Build Status](https://github.com/jinzhu/inflection/actions/workflows/go.yml/badge.svg)](https://github.com/jinzhu/inflection/actions/workflows/go.yml)

## Basic Usage

Expand Down
23 changes: 0 additions & 23 deletions wercker.yml

This file was deleted.

0 comments on commit bbe0a3e

Please sign in to comment.