CI: go - always use latest minor version #380
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
--- | |
# This workflow is actually running | |
# only functional tests, but the | |
# name is used for the badge in README.md | |
name: Tests | |
# Main workflow for functional tests, it calls all the others through parallel jobs. | |
# | |
# https://docs.github.com/en/actions/using-workflows/reusing-workflows | |
# | |
# There is no need to merge coverage output because codecov.io should take care of that. | |
on: | |
push: | |
branches: | |
- master | |
- releases/** | |
paths-ignore: | |
- "README.md" | |
pull_request: | |
branches: | |
- master | |
- releases/** | |
paths-ignore: | |
- "README.md" | |
jobs: | |
sqlite: | |
uses: ./.github/workflows/bats-sqlite-coverage.yml | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
# Jobs for Postgres (and sometimes MySQL) can have failing tests on GitHub | |
# CI, but they pass when run on devs' machines or in the release checks. We | |
# disable them here by default. Remove if...false to enable them. | |
mariadb: | |
uses: ./.github/workflows/bats-mysql.yml | |
with: | |
database_image: mariadb:latest | |
mysql: | |
uses: ./.github/workflows/bats-mysql.yml | |
with: | |
database_image: mysql:latest | |
postgres: | |
uses: ./.github/workflows/bats-postgres.yml | |
hub: | |
uses: ./.github/workflows/bats-hub.yml | |
secrets: | |
GIST_BADGES_ID: ${{ secrets.GIST_BADGES_ID }} | |
GIST_BADGES_SECRET: ${{ secrets.GIST_BADGES_SECRET }} |