diff --git a/.github/mise.toml b/.github/mise.toml new file mode 100644 index 0000000000..6c0f35fa7b --- /dev/null +++ b/.github/mise.toml @@ -0,0 +1,2 @@ +[tools] +protoc = "23.4" diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index a3110beb51..1c335d32aa 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -37,9 +37,10 @@ jobs: check-latest: true cache: true - - uses: arduino/setup-protoc@v3 + - uses: jdx/mise-action@v4 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + working_directory: .github + install_args: protoc - name: lint protobuf definitions run: | @@ -58,9 +59,10 @@ jobs: check-latest: true cache: true - - uses: arduino/setup-protoc@v3 + - uses: jdx/mise-action@v4 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + working_directory: .github + install_args: protoc - name: lint protobuf API definitions run: | @@ -79,9 +81,10 @@ jobs: check-latest: true cache: true - - uses: arduino/setup-protoc@v3 + - uses: jdx/mise-action@v4 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + working_directory: .github + install_args: protoc - name: lint system workflows with workflowcheck run: make workflowcheck diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 680159e2c1..ebe614c62a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -277,9 +277,10 @@ jobs: path: ~/.cache/go-build key: go-${{ runner.os }}${{ runner.arch }}-build-${{ env.COMMIT }} - - uses: arduino/setup-protoc@v3 + - uses: jdx/mise-action@v4 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + working_directory: .github + install_args: protoc - run: GOOS=windows GOARCH=amd64 make clean-bins bins