Skip to content

Merge pull request #182 from mehdy/dependabot/go_modules/github.com/p… #582

Merge pull request #182 from mehdy/dependabot/go_modules/github.com/p…

Merge pull request #182 from mehdy/dependabot/go_modules/github.com/p… #582

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: make dep
- name: Build
run: make build
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: make dep
- name: Check for unused
run: make unused
- name: Test
run: make test
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22']
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.59.1
args: --timeout 3m
skip-pkg-cache: true