build(deps): bump github.com/charmbracelet/bubbletea from 0.27.0 to 0.27.1 #370
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LinuxUnitTest | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
unit_test: | |
name: Unit test (linux) | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1" | |
check-latest: true | |
- name: Setup localstack | |
env: | |
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} | |
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} | |
# https://docs.localstack.cloud/user-guide/ci/github-actions/ | |
run: | | |
docker compose up -d | |
echo "Waiting for LocalStack startup..." | |
sleep 30 | |
echo "Startup complete" | |
- name: Download dependencies | |
run: go mod download | |
- name: Set up AWS config and AWS credentials | |
run: | | |
mkdir -p "$HOME/.aws" | |
echo -e "[default]\naws_access_key_id=test\naws_secret_access_key=test" > "$HOME/.aws/credentials" | |
echo -e "[default]\nregion=us-east-1\noutput=json\nendpoint_url=http://localhost:4566" > "$HOME/.aws/config" | |
- uses: nao1215/actions-hottest@v1 | |
with: | |
args: '-cover -coverpkg=./... -coverprofile=coverage.out ./...' | |
- uses: k1LoW/octocov-action@v1 |