This commit is contained in:
Miao Wang 2025-01-11 23:28:37 +08:00
parent 181fddb87c
commit 05f75b7ef0
2 changed files with 7 additions and 4 deletions

View File

@ -9,7 +9,7 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: write
steps:

View File

@ -6,7 +6,7 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Check out code into the Go module directory
@ -36,7 +36,7 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
services:
registry:
image: registry:2
@ -131,8 +131,11 @@ jobs:
- name: Fetch and install uml package
run: |
echo "deb http://archive.ubuntu.com/ubuntu/ jammy universe" | sudo tee /etc/apt/sources.list.d/jammy.list
sudo apt-get update
sudo apt-get install -t jammy -y debian-archive-keyring
sudo rm /etc/apt/sources.list.d/jammy.list
sudo apt-get update
sudo apt-get install -y debian-archive-keyring
sudo ln -sf /usr/share/keyrings/debian-archive-keyring.gpg /etc/apt/trusted.gpg.d/
echo "deb http://deb.debian.org/debian bullseye main" | sudo tee /etc/apt/sources.list.d/bullseye.list
sudo apt-get update