diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..cd0d044 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,17 @@ +name: CI +on: + pull_request: + push: + branches: + - main + - "**" + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - run: go test -race ./... diff --git a/go.mod b/go.mod index 47e55c0..b67ace0 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module git.s1d3sw1ped.com/s1d3sw1ped/bambu-nfc -go 1.25 +go 1.27.0