mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-18 21:03:30 +02:00
Force usage of golang 1.16 (#137)
* force usage of golang 1.16 * change specific 20.04 of ubuntu to latest
This commit is contained in:
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
review:
|
||||
name: Code Review
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -56,11 +56,8 @@ jobs:
|
||||
|
||||
build:
|
||||
name: Build wg-ui
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup NodeJS
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
@@ -68,6 +65,11 @@ jobs:
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16.x
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build binary
|
||||
run: |
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
jobs:
|
||||
docker-build:
|
||||
name: Docker Main
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
|
||||
docker-userspace:
|
||||
name: Docker UserSpace
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
needs: docker-build
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
|
||||
docker-debug:
|
||||
name: Docker Debug
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
needs: [docker-build, docker-userspace]
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
release-docker:
|
||||
name: Docker
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
release-binary:
|
||||
name: Binary
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user