Skip to content

Commit

Permalink
use same go as matic [bor,heimdall] (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaovitor-cx authored Apr 26, 2022
1 parent 8bf8211 commit 9b5e555
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ name: CICD

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- main
pull_request:
branches:
- '*'
on: [push, pull_request]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -27,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.17.9' # The Go version to download (if necessary) and use.
go-version: 1.17.x

# Run build of the application
- name: Run build
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ name: goreleaser

on:
push:
# run only against tags
branches-ignore:
- '**'
tags:
- '*'
- 'v*.*.*'
# to be used by fork patch-releases ^^
- 'v*.*.*-*'

permissions:
contents: write
Expand All @@ -24,7 +27,7 @@ jobs:
- name: "Set up Go"
uses: actions/setup-go@v2
with:
go-version: 1.17.9
go-version: 1.17.x
- name: "Run GoReleaser"
uses: goreleaser/goreleaser-action@v2
with:
Expand Down

0 comments on commit 9b5e555

Please sign in to comment.