mirror of
				https://github.com/grassrootseconomics/cic-chain-events.git
				synced 2025-11-04 09:28:22 +01:00 
			
		
		
		
	ci: remove unecessary goreleaser
This commit is contained in:
		
							parent
							
								
									91367f3c3f
								
							
						
					
					
						commit
						487b998347
					
				@ -1,9 +0,0 @@
 | 
			
		||||
version = 1
 | 
			
		||||
 | 
			
		||||
[[analyzers]]
 | 
			
		||||
name = "go"
 | 
			
		||||
enabled = true
 | 
			
		||||
 | 
			
		||||
  [analyzers.meta]
 | 
			
		||||
  import_root = "github.com/grassrootseconomics/cic-custodial"
 | 
			
		||||
  
 | 
			
		||||
							
								
								
									
										42
									
								
								.github/workflows/release.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										42
									
								
								.github/workflows/release.yaml
									
									
									
									
										vendored
									
									
								
							@ -56,45 +56,3 @@ jobs:
 | 
			
		||||
          ghcr.io/inethi/inethi-cic-chain-events/cic-chain-events:latest
 | 
			
		||||
          ghcr.io/inethi/inethi-cic-chain-events/cic-chain-events:${{ env.RELEASE_TAG }}
 | 
			
		||||
 | 
			
		||||
  goreleaser:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    container:
 | 
			
		||||
      image: goreleaser/goreleaser-cross
 | 
			
		||||
    environment: build
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
 | 
			
		||||
      - name: Checkout
 | 
			
		||||
        uses: actions/checkout@v3
 | 
			
		||||
        with:
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
 | 
			
		||||
      - uses: actions/cache@v3
 | 
			
		||||
        with:
 | 
			
		||||
          path: |
 | 
			
		||||
            ~/go/pkg/mod
 | 
			
		||||
            ~/.cache/go-build
 | 
			
		||||
            ~/Library/Caches/go-build
 | 
			
		||||
            %LocalAppData%\go-build
 | 
			
		||||
          key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
 | 
			
		||||
          restore-keys: |
 | 
			
		||||
            ${{ runner.os }}-go-          
 | 
			
		||||
 | 
			
		||||
      - name: Workaround Git Security Warning
 | 
			
		||||
        run: |
 | 
			
		||||
          # Workaround a bug in github actions:
 | 
			
		||||
          # https://github.com/actions/runner-images/issues/6775.
 | 
			
		||||
          git config --global --add safe.directory "$GITHUB_WORKSPACE"          
 | 
			
		||||
 | 
			
		||||
      - name: Set up Go
 | 
			
		||||
        uses: actions/setup-go@v3
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: 'stable'
 | 
			
		||||
 | 
			
		||||
      - name: Run GoReleaser
 | 
			
		||||
        uses: goreleaser/goreleaser-action@v2
 | 
			
		||||
        with:
 | 
			
		||||
          version: latest
 | 
			
		||||
          args: release --rm-dist
 | 
			
		||||
        env:
 | 
			
		||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}          
 | 
			
		||||
 | 
			
		||||
@ -1,21 +0,0 @@
 | 
			
		||||
builds:
 | 
			
		||||
  - id: linux-amd64
 | 
			
		||||
    env:
 | 
			
		||||
      - CGO_ENABLED=1
 | 
			
		||||
      - CC=x86_64-linux-gnu-gcc
 | 
			
		||||
      - CXX=x86_64-linux-gnu-g++
 | 
			
		||||
    goos:
 | 
			
		||||
      - linux
 | 
			
		||||
    goarch:
 | 
			
		||||
      - amd64
 | 
			
		||||
    main: ./cmd/service
 | 
			
		||||
    ldflags:
 | 
			
		||||
      - -X main.build={{.ShortCommit}} -s -w
 | 
			
		||||
 | 
			
		||||
archives:
 | 
			
		||||
  - format: tar.gz
 | 
			
		||||
    files:
 | 
			
		||||
      - LICENSE
 | 
			
		||||
      - config.toml
 | 
			
		||||
      - queries.sql
 | 
			
		||||
      - migrations/
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user