Bump golang.org/x/net from 0.21.0 to 0.33.0 in the go_modules group #25
Workflow file for this run
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: Build and Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate credentials | |
run: python3 generate_credentials.py | |
- name: Build and start services with Docker Compose | |
run: | | |
docker compose up --build -d | |
- name: Test /ping endpoint | |
run: | | |
sleep 10 | |
curl -X 'GET' \ | |
'http://localhost:8072/ping' \ | |
-H 'accept: application/json' | grep '{"message":"pong"}' |