abolish: web ui #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
push: | |
tags-ignore: | |
- '**' | |
branches: | |
- '**' | |
name: "Build and Test Workflow" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build-and-test: | |
strategy: | |
matrix: | |
go-version: [latest] | |
node-version: [20] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: kevincobain2000/action-gobrew@v2 | |
with: | |
version: ${{ matrix.go-version }} | |
- name: Setup Node.js 20 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Tools | |
run: | | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
- name: Go Mod Tidy | |
run: go mod tidy | |
- name: Go Build | |
run: go build main.go | |
- name: Test | |
run: go test -race -v ./... -count=1 |