aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-04 18:17:20 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-04 18:17:20 +0200
commit6cf3f77c79ff916f50098ff20718bb60b01ae67e (patch)
tree27d055f881257de5b72ebe3bcc46060abed9fbd6 /.github/workflows
parent11c8f1111c3f74ccc6bd4a3901f0eb447616f827 (diff)
downloadfeed2imap-go-6cf3f77c79ff916f50098ff20718bb60b01ae67e.tar.gz
feed2imap-go-6cf3f77c79ff916f50098ff20718bb60b01ae67e.tar.bz2
feed2imap-go-6cf3f77c79ff916f50098ff20718bb60b01ae67e.zip
Github workflows. Including releasev0.1.1
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/go.yml6
-rw-r--r--.github/workflows/release.yml28
2 files changed, 29 insertions, 5 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 3f92c8d..296bad1 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -19,16 +19,12 @@ jobs:
go-version: 1.14
id: go
- - name: Check out code into the Go module directory
+ - name: Checkout
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- if [ -f Gopkg.toml ]; then
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure
- fi
- name: Build
run: go build -v ./...
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..2c06d11
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,28 @@
+name: release
+
+on:
+ push:
+ tags:
+ - 'v*'
+
+jobs:
+ goreleaser:
+ name: Release
+ runs-on: ubuntu-latest
+ steps:
+
+ - name: Set up Go 1.14
+ uses: actions/setup-go@v1
+ with:
+ go-version: 1.14
+ id: go
+
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Run GoReleaser
+ uses: goreleaser/goreleaser-action@v1
+ with:
+ version: latest
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23:28:26 +0200'>2014-04-20Use sort -u instead of uniqJason A. Donenfeld1-2/+2 2014-04-20Don't use subshells for reading from find.Jason A. Donenfeld1-4/+4 2014-04-19bash-completion: fix completion-file's name in uninstallschalox1-1/+1 2014-04-19platform: Auto-detect local platform fileJason A. Donenfeld2-3/+3 2014-04-19platform: Allow custom platform file before installJason A. Donenfeld2-3/+5 2014-04-18reencrypt: cleaner temp file declarationJason A. Donenfeld1-4/+4 2014-04-18Remove unneeded semicolon.Jason A. Donenfeld1-14/+14 2014-04-18Check sneaky paths.Jason A. Donenfeld1-0/+15 2014-04-18Pruning: turns out rmdir does it for us with -p.Jason A. Donenfeld1-9/+3 2014-04-18Abstract remove empty directories into function.Jason A. Donenfeld1-14/+11 2014-04-18Remember to prune empty folders.Jason A. Donenfeld1-0/+8 2014-04-18init: allow deinitializationJason A. Donenfeld2-2/+18 2014-04-18bash-completion: filter dot files from resultsJason A. Donenfeld1-3/+8 2014-04-18reencrypt: remove option, do automaticallyJason A. Donenfeld5-39/+25 2014-04-18reencryption: add to completion filesJason A. Donenfeld3-1/+5 2014-04-18Specify variable gpg.Jason A. Donenfeld1-1/+1 2014-04-18style: don't escape new line on &&Jason A. Donenfeld1-2/+2 2014-04-18reencryption: remove temporary file on failureJason A. Donenfeld1-1/+1 2014-04-18reencryption: only reencrypt files when requiredJason A. Donenfeld2-16/+37 2014-04-17cp: typo as cvJason A. Donenfeld1-1/+1 2014-04-17bash: gpg_id is localJason A. Donenfeld1-0/+1 2014-04-17move/copy: always reencrypt passwords at destinationJason A. Donenfeld5-25/+56 2014-04-17makefile: allow platform files with gnu sedJason A. Donenfeld1-7/+8 2014-04-17mv: Add pass mv/rename supportJason A. Donenfeld5-3/+78 2014-04-17revelation2pass: add plain XML importJavali1-11/+15 2014-04-17platform: add cygwin supportJason A. Donenfeld2-1/+17