Skip to content

Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 #365

Bump github.com/stretchr/testify from 1.9.0 to 1.10.0

Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 #365

Workflow file for this run

name: Build (Go)
on:
pull_request:
branches:
- main
- fix/*
paths-ignore:
- 'smart-contracts/**'
- '**.md'
push:
branches:
- main
- fix/*
paths-ignore:
- 'smart-contracts/**'
- '**.md'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build-go:
name: quasar-${{ matrix.targetos }}-${{ matrix.arch }}
runs-on: ubuntu-latest
strategy:
matrix:
arch: [ amd64, arm64 ]
targetos: [ linux ]
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Get git diff
uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
Makefile
.github/workflows/build.yml
- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: 1.20.7
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- name: Display go version
if: env.GIT_DIFF
run: go version
- name: Build quasard
if: env.GIT_DIFF
run: make build-reproducible-${{ matrix.arch }}
- uses: actions/upload-artifact@v3
if: env.GIT_DIFF
with:
name: quasard-${{ matrix.targetos }}-${{ matrix.arch }}
path: build/quasard-${{ matrix.targetos }}-${{ matrix.arch }}