diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2723a8bd..14db88f0c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + - uses: actions/setup-go@v2 + version: "^1.15" + - run: | + cd proxy + go get -u github.com/go-swagger/go-swagger/cmd/swagger + swagger generate client -f ../swagger.yaml -A passbook -t pkg/ + go build -v . - name: Docker Login Registry env: DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} @@ -87,7 +94,7 @@ jobs: docker-compose pull -q docker-compose up --no-start docker-compose start postgresql redis - docker-compose run -u root server bash -c "pip install --no-cache -r requirements-dev.txt && ./manage.py test" + docker-compose run -u root --entrypoint /bin/bash server -c "pip install --no-cache -r requirements-dev.txt && ./manage.py test" sentry-release: needs: - test-release