Skip to content

chore: bump docker/setup-qemu-action from 3.6.0 to 3.7.0 in the actions group #12

chore: bump docker/setup-qemu-action from 3.6.0 to 3.7.0 in the actions group

chore: bump docker/setup-qemu-action from 3.6.0 to 3.7.0 in the actions group #12

Workflow file for this run

# Copyright (c) 2025 ADBC Drivers Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This is a common workflow for performing basic PR checks:
#
# - Run pre-commit
#
# It is also planned to cover things like checking the PR title/description
# format and ensuring issues and milestones are properly linked.
name: Dev
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
push:
branches:
- main
workflow_call: {}
concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
# Check the PR itself.
pr_standard:
name: "Check PR"
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
persist-credentials: false
- name: Check PR title format
if: github.repository == 'adbc-drivers/dev'
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
python adbc_drivers_dev/title_check.py $(pwd) "$PR_TITLE"
- name: Check PR title format
if: github.repository != 'adbc-drivers/dev'
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
git clone --depth 1 https://github.com/adbc-drivers/dev
python dev/adbc_drivers_dev/title_check.py $(pwd) "$PR_TITLE"
lint:
name: "lint & pre-commit"
runs-on: ubuntu-latest
if: "github.event.action != 'edited'"
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-go@v6
with:
check-latest: true
go-version: "stable"
- uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install
run: pip install pre-commit
- name: pre-commit (cache)
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- name: pre-commit
run: |
pre-commit run --all-files --color=always --show-diff-on-failure --verbose