Skip to content

Merge pull request #7 from backend-developers-ltd/pylon-auth-update #20

Merge pull request #7 from backend-developers-ltd/pylon-auth-update

Merge pull request #7 from backend-developers-ltd/pylon-auth-update #20

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
env:
GO_VERSION: '1.24.x'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Lint
run: make lint
build:
name: Build
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Build
run: make build
docker-build:
name: Docker Build
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Docker build
run: make docker-build
test:
name: Test
runs-on: ubuntu-latest
needs: [build, docker-build]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Test
run: make test