Skip to content

build(deps): bump github.com/sylabs/json-resp from 0.9.2 to 0.9.3 #34

build(deps): bump github.com/sylabs/json-resp from 0.9.2 to 0.9.3

build(deps): bump github.com/sylabs/json-resp from 0.9.2 to 0.9.3 #34

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
tags:
- 'v*.*.*'
jobs:
build_and_test:
name: build_and_test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Check for markdown Lint
run: |
sudo npm install -g markdownlint-cli
markdownlint .
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: '1.21.x'
- name: Check go.mod and go.sum are tidy
run: |
go mod tidy
git diff --exit-code -- go.mod go.sum
- name: Build Source
run: go build ./...
- name: Install Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.55
- name: Run Lint
run: |
golangci-lint run
- name: Run Tests
run: go test -coverprofile cover.out -race ./...
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
files: cover.out
flags: unittests
name: codecov