Skip to content

Update supported Go versions #94

Update supported Go versions

Update supported Go versions #94

Workflow file for this run

name: PR Validation
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
paths-ignore: [ '**.md' ]
pull_request:
branches: [ "main" ]
paths-ignore: [ '**.md' ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.x', '1.20.x', '1.19.x' ]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v3
with:
fetch-depth: 1
submodules: true
- name: Setup Go environment
uses: actions/setup-go@v3.3.0
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Run integration tests
run: go test ./tests/... -coverpkg ./api,./task,./client,./backend/...,./internal/helpers