Landing Page Header Text and Background #21
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
name: Test Backend Code | |
on: | |
pull_request: | |
paths: | |
- server/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
cache-dependency-path: server/go.sum | |
- name: Install Dependencies | |
run: go get . | |
working-directory: server | |
- name: Build | |
run: go build -v ./... | |
working-directory: server | |
- name: Run Unit Tests | |
run: go test -v ./... | |
working-directory: server |