forked from openfaas/ofc-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardise actions filenames and go version
This changes the name of "ci-only" action to build as per comments in openfaas/faas#1585. Also pins go version based on the same Signed-off-by: Alistair Hey <[email protected]>
- Loading branch information
1 parent
1ab484d
commit 9c42afe
Showing
2 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
15 changes: 5 additions & 10 deletions
15
.github/workflows/ci-only.yml → .github/workflows/build.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,22 @@ | ||
name: ci-only | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
branches: | ||
- '*' | ||
pull_request: | ||
branches: [ master ] | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
go-version: [1.13.x] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.13 | ||
|
||
- uses: actions/checkout@master | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Make all | ||
run: make all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters