diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7b74c81..c0dccdf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -52,6 +52,9 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@v4 - - run: echo "$GITHUB_WORKSPACE/go/bin" >> $GITHUB_PATH + - name: set up go + uses: actions/setup-go@v5 + with: + go-version: ${{ inputs.go-version }} - run: make proto-gen - run: make proto-lint diff --git a/.github/workflows/proto.yml b/.github/workflows/proto.yml index 4e625b6..6961ec7 100644 --- a/.github/workflows/proto.yml +++ b/.github/workflows/proto.yml @@ -8,8 +8,11 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - run: echo "$GITHUB_WORKSPACE/go/bin" >> $GITHUB_PATH - uses: actions/checkout@v4 + - name: set up go + uses: actions/setup-go@v5 + with: + go-version: ${{ inputs.go-version }} - name: "Check protobuf generated code matches committed code" # yamllint disable run: |