ADDED github testing workflow

This commit is contained in:
Jan 2024-12-26 16:08:05 +01:00
parent a6751c8896
commit ca7d82a6e3

23
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
services:
dind:
image: docker:23.0-rc-dind-rootless
ports:
- 2375:2375
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Test with Docker
run: go test -v ./...