diff --git a/.github/workflows/verify-dependencies.yml b/.github/workflows/verify-dependencies.yml new file mode 100644 index 00000000..c4165afc --- /dev/null +++ b/.github/workflows/verify-dependencies.yml @@ -0,0 +1,27 @@ +name: verify-dependencies +on: + pull_request: + branches: + - master + +jobs: + verify-dependencies: + name: Verify Dependencies + runs-on: ubuntu-20.04 + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Install golangci-lint + run: | + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.63.1 + + - name: Verify + run: | + make verify-replace-run \ No newline at end of file