Skip to content

Commit

Permalink
Merge branch 'feature/refactor-ci' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasarvelo committed Apr 28, 2024
2 parents 3aa8782 + 8f14ce1 commit fe29324
Show file tree
Hide file tree
Showing 4 changed files with 461 additions and 34 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/golang-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Golang CI
run-name: Golang CI

on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main

permissions:
contents: read
pull-requests: read

jobs:
golangci-lint:
runs-on: ubuntu-latest
strategy:
matrix:
directories: [ ./resttail-generate, . ]
steps:
- name: Checkout Repository
uses: actions/[email protected]

- name: Setup Go Environment
uses: actions/[email protected]
with:
go-version: '>=1.22.2'
cache: false

- name: Run golangCI-lint
uses: golangci/[email protected]
with:
version: latest
args: --config ./.golangci.yaml . ./resttail-generate
working-directory: ${{ matrix.directories }}
131 changes: 116 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,117 @@
client.sublime-workspace
.DS_Store
.idea/
.vscode/
.project
__pycache__/
.pytest_cache/
vendor/
*.ipk
*.pyc
*.swp
*.class
*.dylib
### Git template
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
*.orig

# Created by git when using merge tools for conflicts
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*
*_BACKUP_*.txt
*_BASE_*.txt
*_LOCAL_*.txt
*_REMOTE_*.txt

### Go template
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.log*
*_cache.json
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

# Go workspace file
go.work

### GoLand template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
dist/
Loading

0 comments on commit fe29324

Please sign in to comment.