From b9143b53f64d9e3a4406722eaddb0aa1fde4856f Mon Sep 17 00:00:00 2001 From: Aaron Liu <912394456@qq.com> Date: Sun, 16 Apr 2023 09:20:30 +0800 Subject: [PATCH] chore: update runner to ubuntu-latest --- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7299cfd..21a187c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: workflow_dispatch jobs: build: name: Build - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Set up Go 1.20 uses: actions/setup-go@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7217dd9..17a6ecf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,12 +10,12 @@ on: jobs: test: name: Test - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.20 uses: actions/setup-go@v2 with: - go-version: "1.18" + go-version: "1.20" id: go - name: Check out code into the Go module directory