Skip to content

Simplify CI: remove old workflows, add clean build/lint/test pipeline #6

Simplify CI: remove old workflows, add clean build/lint/test pipeline

Simplify CI: remove old workflows, add clean build/lint/test pipeline #6

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26'
- run: go build ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26'
- uses: golangci/golangci-lint-action@v6
with:
version: v2.11.3
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26'
- name: Setup Keyring
run: |
sudo apt-get update && sudo apt-get install -y gnome-keyring
echo 'testpass' | gnome-keyring-daemon --unlock
- run: go test ./...