Skip to content

Commit

Permalink
🔨 Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Jul 15, 2020
1 parent b80b8f6 commit c14f123
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
pull_request:

jobs:
build:
name: Build
deps:
name: Dependencies
runs-on: ubuntu-latest
steps:
- name: Set up Go
Expand All @@ -20,8 +20,21 @@ jobs:

- name: Dependencies
run: go get ./...
working-directory: ../
working-directory: ./

build:
needs: deps
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14

- name: Check out code
uses: actions/checkout@v2

- name: Build
run: go build .
working-directory: ./
working-directory: ./

0 comments on commit c14f123

Please sign in to comment.