Skip to content

Commit 2c65df0

Browse files
committed
Create app.yml
1 parent 7027156 commit 2c65df0

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/app.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Go build
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
defaults:
20+
run:
21+
shell: bash
22+
working-directory: app
23+
24+
# Steps represent a sequence of tasks that will be executed as part of the job
25+
steps:
26+
- uses: actions/[email protected]
27+
28+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29+
- uses: actions/checkout@v2
30+
31+
# Runs a single command using the runners shell
32+
- name: build
33+
run: go build
34+

0 commit comments

Comments
 (0)