Skip to content

Commit

Permalink
added github actions demo
Browse files Browse the repository at this point in the history
  • Loading branch information
sd031 committed Jun 1, 2024
1 parent ff620e8 commit 79573e1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Go

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '^1.21'
- name: Build
run: cd ../../Day-11/go-rest-api && go build -o myapp
# - name: Test
# run: go test -v ./...

0 comments on commit 79573e1

Please sign in to comment.