From 0deec3d5345dafa49e2772631d624fd09df9ac09 Mon Sep 17 00:00:00 2001 From: iyear Date: Fri, 8 Nov 2024 18:32:41 +0800 Subject: [PATCH] chore(actions): runs on ubuntu-22.04 --- .github/workflows/docs.yml | 2 +- .github/workflows/master.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a0e856014d..79282b5db9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ concurrency: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: HUGO_VERSION: 0.119.0 steps: diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 447fe2ae0b..b50b651eeb 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c32bbf085d..3ac3557c7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}