Skip to content

ci(release): simplify bundle command in release workflow #67

ci(release): simplify bundle command in release workflow

ci(release): simplify bundle command in release workflow #67

Workflow file for this run

name: Go CI
on:
# Trigger the workflow on any push to the repository
push:
branches:
- "**"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go environment
uses: actions/setup-go@v5
with:
cache: true
go-version: "1.22.x"
- name: Install dependencies
run: go get -v -t -d ./...
- name: Lint with golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
go-version: ["1.21.x", "1.22.x"]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go environment
uses: actions/setup-go@v5
with:
cache: true
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get -v -t -d ./...
- name: Run Tests
run: go test -v ./... | tee TestResults-${{ matrix.go-version }}.log
- name: Upload Test Results
uses: actions/upload-artifact@v4
with:
name: TestResults-${{ matrix.os }}-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.log