mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-12-22 02:17:33 +00:00
29 lines
539 B
YAML
29 lines
539 B
YAML
name: Build and test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
name: Build and test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ^1.21
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Build stitch tool
|
|
run: go build -v .
|
|
working-directory: ./bin/stitch
|
|
|
|
- name: Test stitch tool
|
|
run: go test -v .
|
|
working-directory: ./bin/stitch
|