github.com/ethereum/go-ethereum@v1.16.1/.github/workflows/go.yml (about)

     1  name: i386 linux tests
     2  
     3  on:
     4    push:
     5      branches: [ master ]
     6    pull_request:
     7      branches: [ master ]
     8    workflow_dispatch:
     9  
    10  jobs:
    11    lint:
    12      name: Lint
    13      runs-on: self-hosted
    14      steps:
    15      - uses: actions/checkout@v4
    16  
    17      # Cache build tools to avoid downloading them each time
    18      - uses: actions/cache@v4
    19        with:
    20          path: build/cache
    21          key: ${{ runner.os }}-build-tools-cache-${{ hashFiles('build/checksums.txt') }}
    22  
    23      - name: Set up Go
    24        uses: actions/setup-go@v5
    25        with:
    26          go-version: 1.23.0
    27          cache: false
    28  
    29      - name: Run linters
    30        run: |
    31          go run build/ci.go lint
    32          go run build/ci.go check_generate
    33          go run build/ci.go check_baddeps
    34  
    35    build:
    36      runs-on: self-hosted
    37      steps:
    38        - uses: actions/checkout@v4
    39        - name: Set up Go
    40          uses: actions/setup-go@v5
    41          with:
    42            go-version: 1.24.0
    43            cache: false
    44        - name: Run tests
    45          run: go test -short ./...
    46          env:
    47            GOOS: linux
    48            GOARCH: 386