Skip to content

Bump actions/checkout from 3 to 4 #13

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #13

Workflow file for this run

name: Go test workflow
on: [push]
#
env:
APP_ENV: runner
#
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19.x', '1.20.x', '1.21.x' ]
#
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
cache: true
#cache-dependency-path: subdir/go.sum
#
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
#
- name: Install dependencies
run: go mod tidy
#
- name: Build
run: go build -v ./...
#
- name: Test with the Go CLI
run: go test -v ./...
#
#
#