mirror of
https://github.com/mautrix/telegram.git
synced 2026-05-16 23:15:45 +03:00
ci: update actions and pre-commit hooks
This commit is contained in:
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
@@ -15,10 +15,10 @@ jobs:
|
|||||||
name: Lint ${{ matrix.go-version == '1.25' && '(latest)' || '(old)' }}
|
name: Lint ${{ matrix.go-version == '1.25' && '(latest)' || '(old)' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
cache: true
|
cache: true
|
||||||
|
|||||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
lock-stale:
|
lock-stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v5
|
- uses: dessant/lock-threads@v6
|
||||||
id: lock
|
id: lock
|
||||||
with:
|
with:
|
||||||
issue-inactive-days: 90
|
issue-inactive-days: 90
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ repos:
|
|||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
|
|
||||||
- repo: https://github.com/tekwizely/pre-commit-golang
|
- repo: https://github.com/tekwizely/pre-commit-golang
|
||||||
rev: v1.0.0-rc.2
|
rev: v1.0.0-rc.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
|
|||||||
Reference in New Issue
Block a user