Skip to content

iyehuda is running a CI pipeline πŸš€ #13

iyehuda is running a CI pipeline πŸš€

iyehuda is running a CI pipeline πŸš€ #13

Workflow file for this run

name: Build, Lint and Test
run-name: ${{ github.actor }} is running a CI pipeline πŸš€
on:
push:
branches:
- $default-branch
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
cache: true
- name: Build
run: make build
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
cache: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
cache: true
- name: Login to docker registry (registry.gitlab.com)
uses: docker/[email protected]
with:
registry: registry.gitlab.com
username: ${{ secrets.GITLAB_USERNAME }}
password: ${{ secrets.GITLAB_PASSWORD }}
- name: Run unit tests
run: make test
- name: Run integration tests
run: make integration-tests