Skip to content

dev: bump github.com/chirpstack/chirpstack/api/go/v4 from 4.6.0 to 4.7.0 #379

dev: bump github.com/chirpstack/chirpstack/api/go/v4 from 4.6.0 to 4.7.0

dev: bump github.com/chirpstack/chirpstack/api/go/v4 from 4.6.0 to 4.7.0 #379

Workflow file for this run

name: Go Code
on:
push:
branches: master
pull_request:
paths:
- '*.go'
- 'cmd/**'
- 'go.mod'
- 'go.sum'
- 'pkg/**'
jobs:
quality:
name: Go Code Quality
runs-on: ubuntu-22.04
steps:
- name: Check out Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '~1.21'
- name: Initialize Go module cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download Go dependencies
run: go mod download
- name: Remove unnecessary type conversions
run: make go.unconvert
- name: Format Code
run: make go.fmt
- name: Lint Code
run: make go.lint
- name: Generate Code
run: make go.generate
- name: Check for diff
run: make git.diff
test:
name: Go Tests
runs-on: ubuntu-22.04
steps:
- name: Check out Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '~1.21'
- name: Initialize Go module cache
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download Go dependencies
run: go mod download
- name: Test binary execution
run: make go.binaries
- name: Unit tests
run: make go.test