Skip to content

v0.4.4

v0.4.4 #68

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
with:
go-version-file: ${{ github.workspace }}/src/go.mod
cache: true
cache-dependency-path: ${{ github.workspace }}/src/go.sum
- name: Install dependencies
working-directory: ${{ github.workspace }}/src
run: |
go get .
- name: Download modules
working-directory: ${{ github.workspace }}/src
run: |
go mod download
- name: Build
working-directory: ${{ github.workspace }}/src
run: go build -v ./...
- name: Run linters
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
working-directory: ${{ github.workspace }}/src
version: latest
- name: Run tests
working-directory: ${{ github.workspace }}/src
run: go test -v ./...