Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

chore(deps): update actions/setup-go action to v5 - autoclosed #352

chore(deps): update actions/setup-go action to v5 - autoclosed

chore(deps): update actions/setup-go action to v5 - autoclosed #352

Workflow file for this run

name: Unit tests
on: [pull_request]
jobs:
versions-old:
name: go version
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
go: ['1.17', '1.18']
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get dependencies
run: go mod download
- name: test
run: go test -covermode=atomic -v -race -short ./...
versions:
name: go version
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
go: [ '1.19' ]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get dependencies
run: go mod download
- name: test
run: go test -shuffle=on -covermode=atomic -v -race -short ./...