Skip to content

Updated versions.go #145

Updated versions.go

Updated versions.go #145

Workflow file for this run

---
name: CI
on:
pull_request:
branches:
- master
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
#os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Prepare OS
id: podman_install
run: |
sudo apt update -qqy
sudo apt install -qqy podman
systemctl --user start podman
echo "DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock" >> "$GITHUB_ENV"
- name: Prepare Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: '1.22.3'
check_latest: false
- name: Checkout codebase
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Perform lint checks
run: |
go install golang.org/x/lint/golint@v0.0.0-20210508222113-6edffad5e616
make lint
- name: Perform format checks
run: make simplify
- name: Perform vet checks
run: make vet
- name: Run test suite
run: make test
...