From 34c754eed7ce86121a9cc2d25ecb6aeb13617c05 Mon Sep 17 00:00:00 2001 From: CHIKAMATSU Naohiro Date: Mon, 8 Jan 2024 17:24:57 +0900 Subject: [PATCH] Rainbow project does not support windows and mac --- .github/workflows/mac_test.yml | 51 ---------------------------------- README.md | 2 -- 2 files changed, 53 deletions(-) delete mode 100644 .github/workflows/mac_test.yml diff --git a/.github/workflows/mac_test.yml b/.github/workflows/mac_test.yml deleted file mode 100644 index 3969deb..0000000 --- a/.github/workflows/mac_test.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: MacUnitTest - -on: - workflow_dispatch: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - unit_test: - name: Unit test (mac) - - strategy: - matrix: - platform: [macos-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=${{ secrets.AWS_ACCESS_KEY_ID }}\naws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" > "$HOME/.aws/credentials" - echo -e "[default]\nregion=us-east-1\noutput=json\nendpoint_url=http://localhost:4566" > "$HOME/.aws/config" - - - name: Run unit test - run: | - go mod download - go test -race -v ./... diff --git a/README.md b/README.md index 23fa1a7..f9d0e37 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,6 @@ ![Coverage](https://raw.githubusercontent.com/nao1215/octocovs-central-repo/main/badges/nao1215/rainbow/coverage.svg) [![LinuxUnitTest](https://github.com/nao1215/rainbow/actions/workflows/linux_test.yml/badge.svg)](https://github.com/nao1215/rainbow/actions/workflows/linux_test.yml) -[![WindowsUnitTest](https://github.com/nao1215/rainbow/actions/workflows/windows_test.yml/badge.svg)](https://github.com/nao1215/rainbow/actions/workflows/windows_test.yml) -[![MacUnitTest](https://github.com/nao1215/rainbow/actions/workflows/mac_test.yml/badge.svg)](https://github.com/nao1215/rainbow/actions/workflows/mac_test.yml) [![reviewdog](https://github.com/nao1215/rainbow/actions/workflows/reviewdog.yml/badge.svg)](https://github.com/nao1215/rainbow/actions/workflows/reviewdog.yml) [![Gosec](https://github.com/nao1215/rainbow/actions/workflows/security.yml/badge.svg)](https://github.com/nao1215/rainbow/actions/workflows/security.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/nao1215/rainbow)](https://goreportcard.com/report/github.com/nao1215/rainbow)