From 35154c8b539c0ab1cac1bc46d7bd0c5e67975b9b Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Fri, 19 Aug 2022 15:07:56 +0800 Subject: [PATCH] remove useless ci --- .github/workflows/ci_20221015.yml | 47 ------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/ci_20221015.yml diff --git a/.github/workflows/ci_20221015.yml b/.github/workflows/ci_20221015.yml deleted file mode 100644 index f20b24c..0000000 --- a/.github/workflows/ci_20221015.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: ci_20221015 - -on: - push: - branches: [ '20221015' ] - pull_request: - branches: [ '20221015' ] - -jobs: - - build: - runs-on: ubuntu-latest - strategy: - matrix: - goVer: ['1.16', '1.17', '1.18'] - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: ${{ matrix.goVer }} - - - name: Setup Environment - run: | - echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV - echo "$(go env GOPATH)/bin" >> $GITHUB_PATH - - - name: Module cache - uses: actions/cache@v3 - env: - cache-name: go-mod-cache - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }} - - - name: Test with Coverage - run: go test -coverpkg=./... -v -short -coverprofile=coverage1.txt -covermode=atomic ./... - - - name: Test Generic - run: go test -coverpkg=./... -v -short -tags generic -coverprofile=coverage2.txt -covermode=atomic ./... - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - files: ./coverage1.txt,./coverage2.txt \ No newline at end of file