chore: update runner to ubuntu-latest

This commit is contained in:
Aaron Liu 2023-04-16 09:20:30 +08:00
parent b9d9e036c9
commit b9143b53f6
2 changed files with 4 additions and 4 deletions

View file

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

View file

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