Commit 9ebd650 1 parent 5a427ab commit 9ebd650 Copy full SHA for 9ebd650
File tree 3 files changed +29
-31
lines changed
3 files changed +29
-31
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a golang project
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3
+
4
+ name : Go
5
+
6
+ on :
7
+ push :
8
+ branches : [ "master" ]
9
+ pull_request :
10
+ branches : [ "master" ]
11
+
12
+ jobs :
13
+
14
+ build :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+
19
+ - name : Set up Go
20
+ uses : actions/setup-go@v4
21
+ with :
22
+ go-version : ' 1.21'
23
+
24
+ - name : Build
25
+ run : go build -v ./...
26
+
27
+ - name : Test
28
+ run : go test -v ./...
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Enumer [ ![ GoDoc] ( https://godoc.org/github.com/dmarkham/enumer?status.svg )] ( https://godoc.org/github.com/dmarkham/enumer ) [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/dmarkham/enumer )] ( https://goreportcard.com/report/github.com/dmarkham/enumer ) [ ![ GitHub Release] ( https://img.shields.io/github/release/dmarkham/enumer.svg )] ( https://github.com/dmarkham/enumer/releases ) [ ![ Build Status] ( https://travis-ci.com/dmarkham/enumer.svg?branch=master )] ( https://travis-ci.com/dmarkham/enumer )
2
-
1
+ # Enumer [ ![ GoDoc] ( https://godoc.org/github.com/dmarkham/enumer?status.svg )] ( https://godoc.org/github.com/dmarkham/enumer ) [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/dmarkham/enumer )] ( https://goreportcard.com/report/github.com/dmarkham/enumer ) [ ![ GitHub Release] ( https://img.shields.io/github/release/dmarkham/enumer.svg )] ( https://github.com/dmarkham/enumer/releases )
3
2
4
3
Enumer is a tool to generate Go code that adds useful methods to Go enums (constants with a specific type).
5
4
It started as a fork of [ Rob Pike’s Stringer tool] ( https://godoc.org/golang.org/x/tools/cmd/stringer )
You can’t perform that action at this time.
0 commit comments