Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Add Release Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Svetlin Ralchev committed Dec 12, 2019
1 parent 82e159f commit 37cc173
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Set up golang
- name: Set up Golang
uses: actions/setup-go@v1
with:
go-version: '1.13.x'
- name: Run tests
- name: Run Tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload tests coverage to codeconv.io
uses: codecov/codecov-action@v1
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: release

on:
push:
tags:
- 'v*'

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Set up Golang
uses: actions/setup-go@v1
with:
go-version: '1.13.x'
- name: Download Golang tools
run: go get github.com/mitchellh/gox
- name: Build project
run: gox github.com/phogolabs/stride/cmd/stride

0 comments on commit 37cc173

Please sign in to comment.