Update dependency Google.Protobuf to v3.27.2 (#226) #109
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: Broker | |
on: | |
pull_request: | |
branches: ['main'] | |
paths: | |
- .github/actions/** | |
- .github/workflows/broker.yml | |
- docker/broker/** | |
- src/Broker*/** | |
- src/Abstractions/** | |
- src/FSharp/** | |
push: | |
branches: ['main'] | |
tags: ['v*.*.*'] | |
paths: | |
- .github/actions/** | |
- .github/workflows/broker.yml | |
- docker/broker/** | |
- src/Broker*/** | |
- src/Abstractions/** | |
- src/FSharp/** | |
env: | |
CI: true | |
ContinuousIntegrationBuild: true | |
jobs: | |
build: | |
name: .NET Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
filter: tree:0 | |
- uses: ./.github/actions/build-dotnet | |
id: build | |
with: | |
codecov-token: ${{ secrets.CODECOV_TOKEN }} | |
restore-tools: true | |
lint: true | |
path: src/Broker | |
outputs: | |
artifact-id: ${{ steps.build.outputs.artifact-id }} | |
docker: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
tool: ['broker'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set image name | |
run: echo "NAME=$(cat docker/${{ matrix.tool }}/.name)" >> "$GITHUB_ENV" | |
- uses: ./.github/actions/build-docker | |
with: | |
file: docker/${{ matrix.tool }}/Dockerfile | |
images: ghcr.io/${{ github.repository_owner }}/${{ env.NAME }} | |
push: ${{ github.event_name != 'pull_request' }} | |
token: ${{ secrets.GITHUB_TOKEN }} |