Skip to content

Commit

Permalink
Merge pull request #39 from joshtyf/refactor/update-backend-ci
Browse files Browse the repository at this point in the history
Update Go GitHub Actions
  • Loading branch information
joshtyf authored Jan 25, 2024
2 parents 88cf3ab + f9c7c83 commit 1223d3a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/backend_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,23 @@ on:
pull_request:
paths:
- "backend/**"
- ".github/workflows/backend-tests.yml"

jobs:
go-test:
go-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21.6"
- name: Install dependencies
run: go mod download
- name: Verify dependencies
run: go mod verify
working-directory: backend
- name: Test with the Go CLI
- name: Build
run: go build -v ./...
working-directory: backend
- name: Test
run: go test ./...
working-directory: backend

0 comments on commit 1223d3a

Please sign in to comment.