fix: update contributing go version and pre commit status #931
Workflow file for this run
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
jobs: | |
plugins: | |
if: github.repository_owner == 'jenkins-x' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: ubuntu-latest | |
TARGET: linux | |
BINARY: jx | |
- os: macos-latest | |
TARGET: darwin | |
BINARY: jx | |
- os: windows-latest | |
TARGET: win | |
BINARY: jx-windows-amd64.exe | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
- run: make ${{ matrix.target }} | |
- run: | | |
./build/${{ matrix.target }}/${{ matrix.binary }} version | |
./build/${{ matrix.target }}/${{ matrix.binary }} upgrade plugins | |
./build/${{ matrix.target }}/${{ matrix.binary }} gitops --help | |
./build/${{ matrix.target }}/${{ matrix.binary }} secret --help | |
on: | |
pull_request: | |
branches: | |
- main | |
- master |