Skip to content

build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 #78

build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0

build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 #78

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
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Test
run: |
ulimit -n 2048 ; go test -v ./... -covermode=count -coverprofile=covprofile.tmp
cat covprofile.tmp | grep -v "generated" | grep -v "admin" > covprofile
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github
build-js:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'admin-frontend'
strategy:
matrix:
node-version: [ 14.x, 16.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Install deps
working-directory: admin-frontend
run: npm ci
- name: Build admin
working-directory: admin-frontend
run: npm run build --if-present