mirror of https://github.com/mpolden/echoip
added test workflow
This commit is contained in:
parent
5cd6d48c2d
commit
40d7dfebb8
|
@ -0,0 +1,22 @@
|
|||
name: Go
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.13.x"
|
||||
|
||||
- name: Display Go version
|
||||
run: go version
|
||||
|
||||
- name: Run tests
|
||||
run: go test ./...
|
Loading…
Reference in New Issue