Skip to content

chore(deps): bump golang.org/x/crypto from 0.48.0 to 0.49.0 in /nhp #822

chore(deps): bump golang.org/x/crypto from 0.48.0 to 0.49.0 in /nhp

chore(deps): bump golang.org/x/crypto from 0.48.0 to 0.49.0 in /nhp #822

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build and Test Code on Ubuntu
permissions:
contents: read
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.25'
- name: Build
run: make
- name: Lint nhp
uses: golangci/golangci-lint-action@v9
with:
version: v2.7.2
args: --timeout=5m
working-directory: nhp
- name: Lint endpoints
uses: golangci/golangci-lint-action@v9
with:
version: v2.7.2
args: --timeout=5m
working-directory: endpoints
- name: Run tests with coverage
run: |
cd nhp && go test -coverprofile=coverage.out -covermode=atomic $(go list ./... | grep -v 'wasm/policy')
cd ../endpoints && go test -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./nhp/coverage.out,./endpoints/coverage.out
flags: unittests
fail_ci_if_error: false
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}