Skip to content

chore: bump github.com/charmbracelet/bubbletea from 0.26.1 to 0.26.3 #100

chore: bump github.com/charmbracelet/bubbletea from 0.26.1 to 0.26.3

chore: bump github.com/charmbracelet/bubbletea from 0.26.1 to 0.26.3 #100

Workflow file for this run

# this workflow will run on all pushes.
on:
push:
name: "push"
jobs:
# run golangci-lint to lint the golang source code.
# the configuration is at /.golangci.yml.
linter:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v4.1.5
-
name: Get go.mod details
uses: Eun/go-mod-details@v1.0.6
id: go-mod-details
-
name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-mod-details.outputs.go_version }}
-
name: Load Build Variables
uses: xom9ikk/dotenv@v2
-
name: Lint
shell: bash
run: make linter
# use nancy to scan for vulnerabilities.
vulnerability_scanner:
name: Vulnerability scanner
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v4.1.5
-
uses: actions/setup-go@v5
# we cannot use nancy-github-action because it is outdated, so it's better to use the latest
# docker image for the validation
-
name: nancy
run: go list -json -m all | docker run -i sonatypecommunity/nancy:latest
# run golang test suite and collect their coverage.
test:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
-
name: Checkout code
uses: actions/checkout@v4.1.5
-
name: Get go.mod details
uses: Eun/go-mod-details@v1.0.6
id: go-mod-details
-
name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-mod-details.outputs.go_version }}
-
name: Test
run: go test -v -count=1 -coverprofile="coverage-${{ matrix.platform }}-${{ steps.go-mod-details.outputs.go_version }}.cov" -covermode=atomic ./...
-
name: Send coverage
uses: shogo82148/actions-goveralls@v1.9.0
with:
path-to-profile: coverage-${{ matrix.platform }}-${{ steps.go-mod-details.outputs.go_version }}.cov
flag-name: ${{ matrix.platform }}-${{ steps.go-mod-details.outputs.go_version }}
parallel: true
# notifies that all test jobs are finished.
finish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: shogo82148/actions-goveralls@v1.9.0
with:
parallel-finished: true
# draft your next release notes as pull requests are merged into "master"
# the configuration is at /.github/release-drafter.yml.
update_release_draft:
permissions:
contents: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
if: github.ref_name == github.event.repository.default_branch
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}