Update github action go version

This commit is contained in:
Tom Wright 2021-08-14 16:37:41 +01:00
parent d252a491e4
commit c23c29bd9e
No known key found for this signature in database
GPG Key ID: 3EF7C4FD13DE5CAA
2 changed files with 3 additions and 3 deletions

View File

@ -7,14 +7,14 @@ jobs:
build:
strategy:
matrix:
go-version: [1.15.x]
go-version: [1.16.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v2.3.4
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
run: echo RELEASE_VERSION=${GITHUB_REF:10} >> $GITHUB_ENV
- name: Build
run: docker build -t tomwright/mermaid-server:latest -t tomwright/mermaid-server:${{ env.RELEASE_VERSION }} -f Dockerfile .
- name: Login

View File

@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.15.x]
go-version: [1.16.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps: