Merge pull request #117 from caos/workflow

chore: start improving external contribution
This commit is contained in:
Livio Amstutz 2021-08-27 15:36:51 +02:00 committed by GitHub
commit 1bd04e9f36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 111 additions and 3 deletions

View file

@ -1,11 +1,18 @@
name: Release
on: push
on:
push:
branches:
- '**'
tags-ignore:
- '**'
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-18.04
strategy:
matrix:
go: ['1.14', '1.15', '1.16']
go: ['1.14', '1.15', '1.16', '1.17']
name: Go ${{ matrix.go }} test
steps:
- uses: actions/checkout@v2
@ -21,6 +28,7 @@ jobs:
release:
runs-on: ubuntu-18.04
needs: [test]
if: ${{ github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps: