mirror of https://github.com/Marcusk19/dotctl
add ci workflow
parent
76c8b26a78
commit
8a7a82df8e
@ -0,0 +1,19 @@
|
|||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.22.x'
|
||||||
|
- name: Install dependencies
|
||||||
|
run: go get.
|
||||||
|
- name: Test with Go CLI
|
||||||
|
run: go test ./test
|
||||||
Loading…
Reference in New Issue