Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

feat(mariadb): bind on * instead of 0.0.0.0 #37

feat(mariadb): bind on * instead of 0.0.0.0

feat(mariadb): bind on * instead of 0.0.0.0 #37

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request: {}
env:
GOLANGCI_VERSION: "v1.52.2"
jobs:
detect-noop:
runs-on: ubuntu-latest
outputs:
noop: ${{ steps.noop.outputs.should_skip }}
steps:
- name: Detect no-op changes
id: noop
uses: fkirc/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
paths_ignore: '["**.md"]'
concurrent_skipping: false
lint:
name: Lint
runs-on: ubuntu-latest
needs: detect-noop
if: ${{ needs.detect-noop.outputs.noop != 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
cache: true
- name: GolangCI Lint
uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.GOLANGCI_VERSION }}
build:
name: Build
runs-on: ubuntu-latest
needs: detect-noop
if: ${{ needs.detect-noop.outputs.noop != 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
cache: true
- name: Build
run: make build
- name: Build Docker
run: make docker-build
env:
PLATFORM: linux/amd64
test:
name: Test
runs-on: ubuntu-latest
needs: detect-noop
if: ${{ needs.detect-noop.outputs.noop != 'true' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
cache: true
- name: Test
run: make test