Implementation of DateTimeServer using gin and http packages #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Format | |
on: | |
push: | |
branches: [ "development" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
GO_VERSION: '1.22.4' | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: make install_dependencies | |
- name: Run format | |
run: make format | |
- name: Check format | |
uses: Jerome1337/[email protected] | |