Skip to content

run workflows on every push #2

run workflows on every push

run workflows on every push #2

Workflow file for this run

name: test and build
on:
push:
branches:
- '*'
jobs:
make:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Test
run: go test -v ./...
- name: Build
run: go build -ldflags "-X main.version=$(git rev-parse --short HEAD)" -o build/gohangout