Skip to content

Added test workflow for PR and fixed security vulnerabilities #8

Added test workflow for PR and fixed security vulnerabilities

Added test workflow for PR and fixed security vulnerabilities #8

Workflow file for this run

name: Build and Test Workflow
on:
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: '1.19'
- name: Test Go
run: go test -v ./...
- name: Build Go
run: go build ./...