Bump gocloud.dev from 0.37.0 to 0.39.0 #89
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: CI | |
# Trigger the CI on pull requests and direct pushes to any branch | |
on: | |
push: | |
pull_request: | |
permissions: read-all | |
jobs: | |
terraform-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 | |
- name: terraform fmt | |
run: terraform fmt -check | |
working-directory: ./terraform | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
- name: Set up Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: '1.20' | |
- name: Run tests | |
run: go test -v -skip TestPyPIArtifactsLive ./... | |
build-verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
- name: Set up Go | |
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: '1.20' | |
- name: Build | |
run: make build | |
- name: Verify | |
run: make verify | |
run-integration-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | |
with: | |
python-version: '3.7' | |
- run: pip install -r requirements.txt | |
working-directory: ./integration/test_consumer/ | |
- name: Build the stack | |
run: docker-compose -f docker-compose-integration.yml up -d | |
working-directory: ./integration | |
- name: Run consumer python script | |
run: python check_kafka_output.py | |
working-directory: ./integration/test_consumer | |
- name: Output filtered log (full log in artifacts) | |
run: docker-compose -f docker-compose-integration.yml logs feeds | grep -v "Sending package" | grep -v "Processing Package" | |
working-directory: ./integration/ | |
if: ${{ always() }} | |
- name: Dump logs for archive | |
run: docker-compose -f docker-compose-integration.yml logs feeds > feeds-log.txt | |
working-directory: ./integration/ | |
if: ${{ always() }} | |
- uses: actions/upload-artifact@552bf3722c16e81001aea7db72d8cedf64eb5f68 | |
with: | |
name: package-feeds log | |
path: ./integration/feeds-log.txt | |
if: ${{ always() }} |