Skip to content

Commit fccc4a7

Browse files
committed
workflows: Update dependencies
1 parent 3578fc4 commit fccc4a7

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313

1414
env:
15-
GO_VERSION: 1.15.x
15+
GO_VERSION: 1.16.x
1616

1717
steps:
1818
- name: Setup Go

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
docs:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313

1414
env:
1515
DOCS_REPO: netsoc/docs

.github/workflows/release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111

12+
env:
13+
RELEASE_NAME: cli
14+
1215
steps:
1316
- name: Checkout code
1417
uses: actions/checkout@v2
@@ -26,7 +29,7 @@ jobs:
2629
- name: Cross compile with xgo
2730
uses: crazy-max/ghaction-xgo@v1
2831
with:
29-
go_version: 1.15.x
32+
go_version: 1.16.x
3033
pkg: cmd/netsoc
3134
dest: bin
3235
ldflags: '-X github.com/netsoc/cli/version.Version=v${{ steps.vars.outputs.version }}'
@@ -38,7 +41,7 @@ jobs:
3841
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
3942
with:
4043
tag_name: ${{ github.ref }}
41-
release_name: Release ${{ steps.vars.outputs.version }}
44+
release_name: ${{ env.RELEASE_NAME }} ${{ steps.vars.outputs.version }}
4245
body_path: release.md
4346

4447
- name: Upload binaries to release

0 commit comments

Comments
 (0)