Skip to content

Commit

Permalink
Merge pull request #3919 from TrueBlocks/develop
Browse files Browse the repository at this point in the history
Starts to add tx sending
  • Loading branch information
tjayrush authored Dec 17, 2024
2 parents 2a3d9f8 + f287f73 commit e1dd152
Show file tree
Hide file tree
Showing 4,720 changed files with 1,080,660 additions and 1,467 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [pull_request, workflow_dispatch]
env:
CHIFRA_PATH: src/apps/chifra
# Go Version
GO_VERSION: 1.22
GO_VERSION: 1.23
jobs:
Lint:
runs-on: ubuntu-latest
Expand All @@ -18,11 +18,12 @@ jobs:
run: |
./scripts/go-work-sync.sh
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.61.0
working-directory: ${{ env.CHIFRA_PATH }}
args: --timeout=5m --verbose --out-format=colored-line-number
skip-pkg-cache: true
Build:
needs: Lint
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -64,7 +65,6 @@ jobs:
username: ${{ secrets.TESTING_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
command_timeout: 40m
script_stop: true
script: |
rm -rf testing/${{ github.sha }}
mkdir -p testing/${{ github.sha }}
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/golangci-lint.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/pr-target-check.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Production Release
on:
push:
tags:
- 'v*.*.*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Fetch All Tags
run: git fetch --tags --force --prune
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: '1.23'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env
.key
go.work
go.work.sum

Expand Down
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
[submodule "tests"]
path = tests
url = https://github.com/TrueBlocks/trueblocks-tests
[submodule "docs"]
path = docs
url = https://github.com/TrueBlocks/trueblocks-docs.git
[submodule "node"]
path = node
url = https://github.com/TrueBlocks/trueblocks-node.git
Expand Down
23 changes: 23 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2

builds:
- dir: src/apps/chifra
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64

archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"

checksum:
name_template: "checksums.txt"

release:
prerelease: "false"
Loading

0 comments on commit e1dd152

Please sign in to comment.