mirror of
https://github.com/versity/versitygw.git
synced 2026-01-08 12:41:10 +00:00
This PR updates all GitHub workflows to use the latest major versions of key Go-related actions: * **actions/checkout:** upgraded from `v4` → **`v5`** * **actions/setup-go:** upgraded from `v5` → **`v6`**
38 lines
934 B
YAML
38 lines
934 B
YAML
name: azurite functional tests
|
|
permissions: {}
|
|
on: pull_request
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: 'stable'
|
|
id: go
|
|
|
|
- name: Set up Docker Compose
|
|
run: |
|
|
docker compose -f tests/docker-compose.yml --env-file .env.dev --project-directory . up -d azurite azuritegw
|
|
|
|
- name: Wait for Azurite to be ready
|
|
run: sleep 40
|
|
|
|
- name: Get Dependencies
|
|
run: |
|
|
go mod download
|
|
|
|
- name: Build and Run
|
|
run: |
|
|
make
|
|
./versitygw test -a user -s pass -e http://127.0.0.1:7070 full-flow --azure
|
|
|
|
- name: Shut down services
|
|
run: |
|
|
docker compose -f tests/docker-compose.yml --env-file .env.dev --project-directory . down azurite azuritegw
|