Rename project to actions-sync
This commit is contained in:
15
.github/workflows/ci.yml
vendored
Normal file
15
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: CI
|
||||
on:
|
||||
pull_request:
|
||||
jobs:
|
||||
CI:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Lint
|
||||
run: docker-compose run --rm lint
|
||||
- name: Test
|
||||
run: docker-compose run --rm test
|
||||
- name: E2E
|
||||
run: docker-compose run --rm test-build
|
||||
27
.github/workflows/licenced.yml
vendored
Normal file
27
.github/workflows/licenced.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: licenced
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
branches:
|
||||
- "**"
|
||||
jobs:
|
||||
licenced:
|
||||
name: Licences Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.14.1
|
||||
- uses: jonabc/setup-licensed@v1
|
||||
with:
|
||||
version: 2.x
|
||||
- uses: jonabc/licensed-ci@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
workflow: branch
|
||||
env:
|
||||
GOPRIVATE: "*github.com/github/*"
|
||||
GOPROXY: "direct"
|
||||
GOFLAGS: "-mod=vendor"
|
||||
28
.github/workflows/releases.yml
vendored
Normal file
28
.github/workflows/releases.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: goreleaser
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v**"
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Go 1.14
|
||||
uses: actions/setup-go@v2-beta
|
||||
with:
|
||||
go-version: 1.14
|
||||
- name: Set CURRENT_TAG
|
||||
run: echo ::set-env name=GORELEASER_CURRENT_TAG::${GITHUB_REF#refs/tags/}
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v1
|
||||
with:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
Reference in New Issue
Block a user