Update github.com/cloudy-sky-software/pulschema digest to 598e966 (#277) #793
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
GOLANG_CI_LINT_VERSION: v1.54.2 | |
GOPRIVATE: "github.com/cloudy-sky-software/*" | |
GO_VERSION: 1.21.x | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Unshallow clone for tags | |
run: git fetch --prune --unshallow --tags | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- run: | | |
git config --global url."https://praneetloke:${GH_REPO_PAT}@github.com/".insteadOf "https://github.com/" | |
env: | |
GH_REPO_PAT: ${{ secrets.GH_REPO_PAT }} | |
- name: Lint | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin $GOLANG_CI_LINT_VERSION | |
make lint | |
- name: Test | |
run: make test |