Skip to content

Commit

Permalink
Revert "ci: disable oldstable for now due to breaking builds from 1.2…
Browse files Browse the repository at this point in the history
…3.x -> 1.24 in x/sys and x/net"

This reverts commit 542c619.
  • Loading branch information
adamdecaf committed Feb 17, 2025
1 parent b0b83bd commit aa8a98c
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 73 deletions.
68 changes: 33 additions & 35 deletions .github/workflows/cgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Go

on:
push:
branches: [master]
branches: [ master ]
pull_request:
branches: [master]
branches: [ master ]

jobs:
build:
Expand All @@ -13,37 +13,35 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# TODO: re-enable oldstable after 1.25.x
# version: [stable, oldstable]
version: [stable]
version: [stable, oldstable]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.version }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw

- name: Setup
if: runner.os == 'Linux'
run: make setup

- name: Check
if: runner.os == 'Linux'
run: make check

- name: Short Check
if: runner.os != 'Linux'
run: make check
env:
GOTEST_FLAGS: "-short"

- name: Logs
if: failure() && runner.os == 'Linux'
run: docker compose logs
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.version }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw

- name: Setup
if: runner.os == 'Linux'
run: make setup

- name: Check
if: runner.os == 'Linux'
run: make check

- name: Short Check
if: runner.os != 'Linux'
run: make check
env:
GOTEST_FLAGS: "-short"

- name: Logs
if: failure() && runner.os == 'Linux'
run: docker compose logs
74 changes: 36 additions & 38 deletions .github/workflows/nocgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Go

on:
push:
branches: [master]
branches: [ master ]
pull_request:
branches: [master]
branches: [ master ]

jobs:
build:
Expand All @@ -13,40 +13,38 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# TODO: re-enable oldstable after 1.25.x
# version: [stable, oldstable]
version: [stable]
version: [stable, oldstable]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.version }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw

- name: Setup
if: runner.os == 'Linux'
run: make setup

- name: Check
if: runner.os == 'Linux'
run: make check
env:
CGO_ENABLED: "0"

- name: Short Check
if: runner.os != 'Linux'
run: make check
env:
CGO_ENABLED: "0"
GOTEST_FLAGS: "-short"

- name: Logs
if: failure() && runner.os == 'Linux'
run: docker compose logs
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.version }}
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Install make (Windows)
if: runner.os == 'Windows'
run: choco install -y make mingw

- name: Setup
if: runner.os == 'Linux'
run: make setup

- name: Check
if: runner.os == 'Linux'
run: make check
env:
CGO_ENABLED: "0"

- name: Short Check
if: runner.os != 'Linux'
run: make check
env:
CGO_ENABLED: "0"
GOTEST_FLAGS: "-short"

- name: Logs
if: failure() && runner.os == 'Linux'
run: docker compose logs

0 comments on commit aa8a98c

Please sign in to comment.