Skip to content

Bump golangci/golangci-lint-action from 5 to 6 in the all group #1328

Bump golangci/golangci-lint-action from 5 to 6 in the all group

Bump golangci/golangci-lint-action from 5 to 6 in the all group #1328

Workflow file for this run

name: build
on:
push:
branches:
- main
- release-*
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Install Ziti CI
uses: openziti/ziti-ci@v1
- name: Build and Test
run: |
$(go env GOPATH)/bin/ziti-ci generate-build-info ziti/sdkinfo/build_info.go sdkinfo
go test ./...
go test -C example ./...
- name: Release
env:
gh_ci_key: ${{ secrets.GH_CI_KEY }}
ziti_ci_gpg_key: ${{ secrets.ZITI_CI_GPG_KEY }}
ziti_ci_gpg_key_id: ${{ secrets.ZITI_CI_GPG_KEY_ID }}
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-')
run: |
$(go env GOPATH)/bin/ziti-ci configure-git
$(go env GOPATH)/bin/ziti-ci tag -v -f version
$(go env GOPATH)/bin/ziti-ci trigger-github-build openziti/edge update-dependency --token ${{ secrets.ZITI_CI_GH_TOKEN }}