Skip to content

Commit

Permalink
Standardise actions filenames and go version
Browse files Browse the repository at this point in the history
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
Waterdrips committed Nov 11, 2020
1 parent 1ab484d commit 9c42afe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci-only.yml → .github/workflows/build.yml
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
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
publish:
strategy:
matrix:
go-version: [1.13.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down

0 comments on commit 9c42afe

Please sign in to comment.