Skip to content

build: bump golang.org/x/tools from 0.27.0 to 0.28.0 #112

build: bump golang.org/x/tools from 0.27.0 to 0.28.0

build: bump golang.org/x/tools from 0.27.0 to 0.28.0 #112

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v*
pull_request:
schedule:
- cron: 0 7 1 * *
jobs:
build:
strategy:
matrix:
go-version:
- 1.21
- oldstable
- stable
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Run tests
run: make test-race test-coverage test-bench
- name: Build and run
run: make && ./bin/hellogopher hello
- name: Upload binary
uses: actions/upload-artifact@v4
if: matrix.go-version == 'stable'
with:
name: binary-${{ matrix.os }}
path: bin/hellogopher
if-no-files-found: error