Update golang Docker tag to v1.21 #2568
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ dev ] | |
pull_request: | |
branches: [ dev ] | |
name: go test | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [ 1.20.x ] | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install modules | |
working-directory: ./web | |
run: npm ci | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: go test | |
run: go test ./... |