diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..6506d74 --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,20 @@ +on: + pull_request: + types: [opened, synchronize] + +jobs: + lint: + runs-on: raw + steps: + - name: Check out repository + uses: actions/checkout@v3 + + - name: Setup golang + uses: actions/setup-go@v5 + with: + go-version: "1.21" + + - name: golangci-lint + uses: https://github.com/golangci/golangci-lint-action@v8 + with: + version: v2.1 \ No newline at end of file