Skip to content

Commit

Permalink
Merge pull request #40 from getsentry/next
Browse files Browse the repository at this point in the history
v2023.1
  • Loading branch information
cleptric authored Feb 6, 2023
2 parents 07aa606 + 16cccdb commit 03c0e42
Show file tree
Hide file tree
Showing 220 changed files with 11,061 additions and 31,385 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-prettier'
],
parserOptions: {
ecmaVersion: 'latest'
}
}
40 changes: 40 additions & 0 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "Go CI"

on:
push:
pull_request:

permissions:
contents: read

jobs:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v3

- name: Run build
working-directory: ./potal
run: go build .

- name: Run vet
working-directory: ./potal
run: go vet .

- name: Run lint
uses: golangci/golangci-lint-action@v3
with:
working-directory: ./potal

- name: Run tests
working-directory: ./potal
run: go test -v -count=1 -race ./... -coverprofile=coverage.out -covermode=atomic

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
working-directory: ./potal
25 changes: 15 additions & 10 deletions backend/.gitignore → .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# CakePHP specific files #
# Project specific files #
##########################
/config/Migrations/*.lock
/config/app_local.php
/config/.env
/logs/*
/tmp/*
/vendor/*
/potal/tmp/*
.env

# Assets #
##########
/webroot/manifest.json
/webroot/assets/*

# OS generated files #
######################
Expand All @@ -13,9 +20,7 @@
._*
.Spotlight-V100
.Trashes
# Icon must end with two \r
Icon

Icon?
ehthumbs.db
Thumbs.db
.directory
Expand All @@ -24,7 +29,6 @@ Thumbs.db
#######################
# PHPUnit
.phpunit.result.cache
tests.sqlite
# vim
*~
*.swp
Expand All @@ -42,12 +46,13 @@ tests.sqlite
nbproject/*
# Visual Studio Code
.vscode
# nova
.nova
# Panic Nova
.nova/*
# Sass preprocessor
.sass-cache/
# node
node_modules
/node_modules/*
# yarn
yarn-debug.log
/node_modules/*
.yarn/
yarn-error.log
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# GibPotato 🥔

_From all the Slack Bots that were ever made, this is one of them_
_From all the Slack Bots that were ever made, this is one of them_

[![Go CI](https://github.com/getsentry/gib-potato/actions/workflows/go-ci.yml/badge.svg)](https://github.com/getsentry/gib-potato/actions/workflows/go-ci.yml)
23 changes: 0 additions & 23 deletions backend/.editorconfig

This file was deleted.

34 changes: 0 additions & 34 deletions backend/.gitattributes

This file was deleted.

53 changes: 0 additions & 53 deletions backend/README.md

This file was deleted.

62 changes: 0 additions & 62 deletions backend/composer.json

This file was deleted.

Binary file removed backend/config/Migrations/schema-dump-default.lock
Binary file not shown.
81 changes: 0 additions & 81 deletions backend/config/routes.php

This file was deleted.

Loading

0 comments on commit 03c0e42

Please sign in to comment.