mirror of
https://github.com/iyear/tdl
synced 2025-01-07 03:16:41 +08:00
chore(actions): runs on ubuntu-22.04
This commit is contained in:
parent
e4923c8a08
commit
0deec3d534
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -17,7 +17,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
HUGO_VERSION: 0.119.0
|
||||
steps:
|
||||
|
6
.github/workflows/master.yml
vendored
6
.github/workflows/master.yml
vendored
@ -17,7 +17,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
version: v1.54
|
||||
working-directory: ${{ matrix.directory }}
|
||||
unit-test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
- name: Unit Test
|
||||
run: go test -v $(go list ./... | grep -v /test) # skip e2e test
|
||||
e2e-test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -11,7 +11,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
homebrew:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Bump Homebrew formula
|
||||
uses: dawidd6/action-homebrew-bump-formula@v3
|
||||
@ -19,7 +19,7 @@ jobs:
|
||||
token: ${{ secrets.RELEASE_TOKEN }}
|
||||
formula: telegram-downloader
|
||||
goreleaser:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -37,6 +37,6 @@ jobs:
|
||||
with:
|
||||
distribution: goreleaser
|
||||
version: v1.18.2
|
||||
args: release --rm-dist --timeout 1h -p 1
|
||||
args: release --rm-dist --timeout 1h
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user