diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml new file mode 100644 index 0000000..c54e79a --- /dev/null +++ b/.github/workflows/lint-and-test.yml @@ -0,0 +1,19 @@ +name: "lint and test" +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + types: [ opened, synchronize, reopened ] + +permissions: + contents: read + pull-requests: write + +jobs: + lint-and-test: + uses: esclient/tools/.github/workflows/lint-and-test-go.yml@main + with: + go-version: '1.22.1' + secrets: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}