Post-release version bump for Scala client #11901
Workflow file for this run
This file contains hidden or 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 | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- master | |
pull_request: | |
branches-ignore: | |
- gh-pages | |
schedule: | |
# Run daily at 01:34, so we get notified if CI is broken before a pull request | |
# is submitted. | |
- cron: "34 1 * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
pull-requests: read | |
checks: write | |
actions: read | |
security-events: write | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
test: | |
uses: ./.github/workflows/test.yml | |
build: | |
uses: ./.github/workflows/build.yml | |
# A single job that succeeds if all jobs listed under 'needs' succeed. | |
# This allows to configure a single job as a required check. | |
# The 'needed' jobs then can be changed through pull-requests. | |
all-jobs-succeeded: | |
name: All jobs succeeded | |
if: always() | |
# the if clauses below have to reflect the number of jobs listed here | |
needs: | |
- lint | |
- test | |
- build | |
env: | |
RESULTS: ${{ join(needs.*.result, ',') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Success" | |
# we expect all required jobs to have success result | |
if: env.RESULTS == 'success,success,success' | |
run: true | |
shell: bash | |
- name: "Failure" | |
# we expect all required jobs to have success result, fail otherwise | |
if: env.RESULTS != 'success,success,success' | |
run: false | |
shell: bash |