Use GITHUB_BASE_URL env var for job links #2644
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: Tasks run tests | |
"on": | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.1 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Deps | |
run: | | |
pwd | |
go get -v ./... | |
working-directory: backend/tasks | |
- name: Test | |
run: go test -v ./... | |
working-directory: backend/tasks |