mirror of
https://github.com/MedzikUser/go-pingbot
synced 2024-08-14 23:57:07 +00:00
31 lines
607 B
YAML
31 lines
607 B
YAML
|
name: Pull Request
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
pull:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Go
|
||
|
uses: actions/setup-go@v2
|
||
|
with:
|
||
|
go-version: 1.16
|
||
|
|
||
|
- name: Run GoReleaser
|
||
|
uses: goreleaser/goreleaser-action@v2
|
||
|
with:
|
||
|
distribution: goreleaser
|
||
|
version: latest
|
||
|
args: release --rm-dist
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
|
||
|
- name: Upload Artifact
|
||
|
uses: actions/upload-artifact@v2
|
||
|
with:
|
||
|
path: dist
|