Skip to content

Initial Commit and Source Code for Chaincode Builder #1

Initial Commit and Source Code for Chaincode Builder

Initial Commit and Source Code for Chaincode Builder #1

Workflow file for this run

name: Build and Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23.x
- name: Run unit tests
run: make unit-tests
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23.x
- name: Run checks
run: make checks
gosec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23.x
- name: Run gosec
run: make gosec
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.23.x
- name: Build and push image
run: |
make image
make image-push