mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:10:13 +01:00
Update github workflow actions' versions * actions/checkout: v2 -> v3 * actions/setup-python: v3 -> v4 * pre-commit/action: v2.0.2 -> v3.0.0 * actions/setup-go: v2 -> v3 * actions/stale: v4 -> v5 Reference links: * https://github.com/actions/checkout/releases * https://github.com/actions/setup-python/releases * https://github.com/pre-commit/action/releases * https://github.com/actions/setup-go#v3 * https://github.com/actions/stale#usage `.github/workflows`: * pre-commit.yaml * stale.yaml * tests.yaml
19 lines
428 B
YAML
19 lines
428 B
YAML
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
name: pre-commit
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [trunk]
|
|
|
|
jobs:
|
|
pre-commit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
- uses: pre-commit/action@v3.0.0
|