File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1616
1717jobs :
1818 build :
19- runs-on : ubuntu-latest
19+ runs-on : ubuntu-20.04
2020 timeout-minutes : 60
2121 env :
2222 DASHBOARD_VERSION : " 3.0.0"
@@ -100,7 +100,7 @@ jobs:
100100 retention-days : 5
101101 if-no-files-found : error
102102 test :
103- runs-on : ubuntu-latest
103+ runs-on : ubuntu-20.04
104104 needs : build
105105 env :
106106 DASHBOARD_VERSION : " 3.0.0"
@@ -116,10 +116,8 @@ jobs:
116116 steps :
117117 - name : Install podman
118118 run : |
119- echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
120- curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:testing/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_testing.gpg > /dev/null
121119 sudo apt update
122- sudo apt install podman
120+ sudo apt -y install podman
123121
124122 - name : Download artifact
125123 uses : actions/download-artifact@v2
Original file line number Diff line number Diff line change @@ -122,12 +122,13 @@ install_apisix() {
122122}
123123
124124install_golang () {
125+ GO_VERSION=" 1.19.6"
125126 GO_ARCH=" amd64"
126127 if [[ $ARCH == " arm64" ]] || [[ $ARCH == " aarch64" ]]; then
127128 GO_ARCH=" arm64"
128129 fi
129- wget https://dl.google.com/go/go1.16 .linux-" ${GO_ARCH} " .tar.gz
130- tar -xzf go1.16 .linux-" ${GO_ARCH} " .tar.gz
130+ wget https://dl.google.com/go/go " ${GO_VERSION} " .linux-" ${GO_ARCH} " .tar.gz
131+ tar -xzf go " ${GO_VERSION} " .linux-" ${GO_ARCH} " .tar.gz
131132 mv go /usr/local
132133}
133134
You can’t perform that action at this time.
0 commit comments