Skip to content

Commit 9ffd82b

Browse files
committed
⚡ Add workflows & funding methods
1 parent 8be4bce commit 9ffd82b

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ko_fi: dwisiswant0
2+
custom: ["https://paypal.me/dw1s", "https://saweria.co/dwisiswant0"]

.github/workflows/build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Set up Go
14+
uses: actions/setup-go@v2
15+
with:
16+
go-version: 1.14
17+
18+
- name: Check out code
19+
uses: actions/checkout@v2
20+
21+
- name: Build
22+
run: go build .
23+
working-directory: ./

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
on:
3+
create:
4+
tags:
5+
- v*
6+
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
-
12+
name: "Check out code"
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
-
17+
name: "Set up Go"
18+
uses: actions/setup-go@v2
19+
with:
20+
go-version: 1.14
21+
-
22+
env:
23+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
24+
name: "Create release on GitHub"
25+
uses: goreleaser/goreleaser-action@v2
26+
with:
27+
args: "release --rm-dist"
28+
version: latest

0 commit comments

Comments
 (0)