Skip to content

Changed go version in go mod #6

Changed go version in go mod

Changed go version in go mod #6

Workflow file for this run

name: Analyzer - Continuous Integration
on:
push:
branches:
- main
- ci-test
paths:
- 'analyzer/**'
pull_request:
branches:
- main
- ci-test
paths:
- 'analyzer/**'
workflow_dispatch:
# We only care about the latest revision of a PR, so cancel all previous instances.
concurrency:
group: analyzer-ci-${{ github.event.pull_request.number || github.ref_name }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-22.04
defaults:
run:
working-directory: analyzer
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Lint
run: |
go get -u golang.org/x/lint/golint
golint .
- name: Build
run: go build -v .
- name: Test
run: go test .