Rename proposed-auth-design.png to sequence-diagram.png #6
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 | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
name: Build + Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 'stable' | |
- name: Test | |
run: | | |
make | |
./server & | |
# TODO: Capture output and compare with expected output | |
curl --silent --header "Authorization: Bearer Alyssa P. Hacker" \ | |
--data @example-tasks/hello-world.json \ | |
http://localhost:8080 | |
curl --silent --header "Authorization: Bearer Foo" \ | |
--data @example-tasks/hello-world.json \ | |
http://localhost:8080 |