Skip to content

Add echo-server unit tests (93.5% coverage) #22

Add echo-server unit tests (93.5% coverage)

Add echo-server unit tests (93.5% coverage) #22

Workflow file for this run

name: Go
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
- name: Requirements
run: sudo apt-get install upx-ucl
- name: Build
run: ./build.sh
- name: Upload a Build Artifacts
uses: actions/upload-artifact@v4
with:
name: build_artifacts
path: |
ws
push:
needs: build
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
name: build_artifacts
- name: Draft new release and upload assets
env:
GH_TOKEN: ${{ secrets.ACTION_TOKEN }}
run: |
gh release create "$(git branch --show-current)-$(git rev-parse --short HEAD)" ./ws