build(deps): bump google.golang.org/grpc from 1.56.3 to 1.68.0 #889
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ 1.21.x, 1.22.x, 1.23.x, tip ] | |
steps: | |
- name: Set up Go stable | |
if: matrix.go-version != 'tip' | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Set up Go tip | |
if: matrix.go == 'tip' | |
run: | | |
curl -o go.tar.gz -L \ | |
https://github.com/AlekSi/golang-tip/releases/download/tip/master.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xzf go.tar.gz | |
sudo ln -s /usr/local/go/bin/* /usr/local/bin/ | |
/usr/local/bin/go version | |
echo "PATH=$HOME/go/bin:$HOME/sdk/gotip/bin/:$PATH" >> $GITHUB_ENV | |
- name: install cairo | |
run: sudo apt-get install libcairo2-dev -y | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: test | |
run: make test | |
- name: golangci-lint | |
if: matrix.go-version == '1.23.x' | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.60.1 | |
- name: integration test | |
if: matrix.go-version == '1.23.x' | |
run: tests/system_test.sh |