Skip to content

fix background again #45

fix background again

fix background again #45

Workflow file for this run

name: backend
on:
push:
branches:
- main
- develop
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# The "build" workflow
ci:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Setup Go
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.18.1' # The Go version to download (if necessary) and use.
# Install all the dependencies
- name: Install dependencies
run: |
go mod download
# Run build of the application
- name: Run build
run: make backend-build
# Run vet & lint on the code
- name: Run vet
run: make backend-vet
# Run golangcu-lint
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
# Run testing on the code
- name: Run testing
run: go test ./... -v