chore(actions): runs on ubuntu-22.04

This commit is contained in:
iyear 2024-11-08 18:32:41 +08:00
parent e4923c8a08
commit 0deec3d534
3 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
HUGO_VERSION: 0.119.0
steps:

View File

@ -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

View File

@ -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 }}