Skip to content

[gh-actions] Bump actions/download-artifact from 4.1.7 to 4.1.8 #98

[gh-actions] Bump actions/download-artifact from 4.1.7 to 4.1.8

[gh-actions] Bump actions/download-artifact from 4.1.7 to 4.1.8 #98

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: test and build
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
test:
runs-on: ubuntu-latest
strategy:
matrix:
goversion: ["1.20", "1.21", "1.22", "1.23"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.goversion }}
- name: Run tests
run: |
go version
make test
inttest:
runs-on: ubuntu-latest
strategy:
matrix:
buildversion: ["1.20", "1.21", "1.22", "1.23"]
testversion: ["1.20", "1.21", "1.22", "1.23"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go to build artifact
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.buildversion }}
- name: Build artifact for inttest
run: |
go version
make build-linux
- name: Install Go for inttest
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.testversion }}
- name: Integration test
run: |
go version
make inttest