Merge branch 'init' of github.com:caos/oidc into init

This commit is contained in:
Livio Amstutz 2019-12-03 08:53:49 +01:00
commit 92dee085b7

View file

@ -13,24 +13,10 @@ jobs:
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- run: go test ./pkg/...
build:
runs-on: ubuntu-18.04
needs: test
strategy:
matrix:
go: ['1.11', '1.12', '1.13']
name: Go ${{ matrix.go }} build
steps:
- uses: actions/checkout@master
- name: Setup go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- run: go run main.go
- run: go test -race ./pkg/...
release:
runs-on: ubuntu-18.04
needs: [test, build]
needs: [test]
steps:
- name: Source checkout
uses: actions/checkout@v1
@ -41,4 +27,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx semantic-release
npx semantic-release