Skip to content

fix: github action build #3

fix: github action build

fix: github action build #3

Workflow file for this run

name: Main
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm -v
- name: Install dev environment
run: |
sudo apt-get update
make ubuntu
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.0
golangci-lint --version
- name: Lint
run: |
make quality
- name: Build
run: |
npm i ./web
make build
- name: Test
run: |
make test