Skip to content

CI: Set Go version

CI: Set Go version #2

Workflow file for this run

name: master
on: [push]
env:
timeout: 10
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:

Check failure on line 15 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
go-version: '1.22.x'
check-latest: true
- name: Install build requirements
run: |
sudo apt-get update
sudo apt-get install build-essential rpm python3 -y
- name: Build with make
timeout-minutes: ${{ fromJSON(env.time) }}
run: make all
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
check-latest: true
- name: Print environment
run: set
- name: Build with make
timeout-minutes: ${{ fromJSON(env.time) }}
run: make.exe bootstrapper
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
check-latest: true
- name: Print environment
run: env
- name: Build with make
timeout-minutes: ${{ fromJSON(env.time) }}
run: make bootstrapper