Skip to content

Added the DAL function users #1

Added the DAL function users

Added the DAL function users #1

Workflow file for this run

name: Verify Pipeline
on:
# Trigger the verification workflow on push or pull request, for the main branch.
push:
branches:
- main
pull_request:
branches:
- main
jobs:
verify-pipeline:
name: Verify Pipeline Job
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.3
- name: Verify dependencies
run: go mod verify
- name: Download dependencies
run: go get ./...
- name: Build
run: CGO_ENABLED=0 go build -installsuffix 'static' -v -o chef-platform-user-accounts-service ./cmd/chef-platform-user-accounts-service
- name: Run go vet
run: go vet ./...
- name: Run staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...
- name: Run Unit Tests
run: go test -race -vet=off ./...