Skip to content

go.mod: upgrade to go1.22 #175

go.mod: upgrade to go1.22

go.mod: upgrade to go1.22 #175

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [~1.22, ^1]
steps:
- uses: actions/checkout@v2
- name: Setup | Download HBase
run: |
ver=2.4.8 &&
wget -nv https://archive.apache.org/dist/hbase/$ver/hbase-$ver-bin.tar.gz &&
echo "2CCB816619FA651E72BF7C110FC2455705654276CFEBE067A7B9D8B39641A8A8BB827BE6EBBB7CE9D6A8441B60B6836FF3A3CA2C394952D688621F8B22F9C310 hbase-$ver-bin.tar.gz" | sha512sum --strict --check - &&
tar zxf hbase-$ver-bin.tar.gz --exclude=docs &&
ln -s hbase-$ver hbase
- name: Setup | Start HBase
run: hbase/bin/hbase-daemon.sh --config hbase/conf start master
- name: Setup | Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Check
run: make check
- name: Test
run: make integration_cover HBASE_HOME=hbase
- name: Upload to Codecov
uses: codecov/[email protected]