Skip to content

Commit

Permalink
fix: merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Roche committed Jun 2, 2022
2 parents 03967e2 + c50f08f commit 78e8a61
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This is a basic workflow to help you get started with Actions

name: release

# Controls when the workflow will run
on:
# Triggers the workflow on push events but only for the main branch
push:
branches:
- 'main'

workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
-
name: Install tools
run: bash ./scripts/install_deploy_tools.sh
-
name: Run goreleaser
run: bash ./scripts/deploy.sh
env:
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This is a basic workflow to help you get started with Actions

name: release

# Controls when the workflow will run
on:
# Triggers the workflow on push events but only for the main branch
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
-
name: Build
run: go build -v ./...
-
name: Test
run: go test -v ./...

0 comments on commit 78e8a61

Please sign in to comment.