Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
ci: refactor actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sysatom committed Sep 26, 2021
1 parent 7c5f7d4 commit beb11a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Count Lines of Code (cloc)
uses: djdefi/cloc-action@main

- name: Upload cloc output as a build artifact
uses: actions/upload-artifact@v2
with:
name: cloc
path: cloc.txt

- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
Expand All @@ -58,9 +49,6 @@ jobs:
- name: Install Task
uses: arduino/setup-task@v1

- name: Get dependencies
run: go mod download

### Lint ###

- name: golangci-lint
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ jobs:
- name: Install Task
uses: arduino/setup-task@v1

- name: Get dependencies
run: go mod download

### Lint ###

- name: golangci-lint
Expand Down
17 changes: 8 additions & 9 deletions internal/pkg/migrate/202109181651.sql
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,17 @@ create table if not exists `messages`

create table if not exists `pages`
(
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uuid` varchar(36) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
`type` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`title` varchar(256) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
`content` text CHARACTER SET utf8mb4 NOT NULL,
`created_at` int(11) NOT NULL DEFAULT '0',
`updated_at` int(11) NOT NULL DEFAULT '0',
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`uuid` varchar(36) NOT NULL DEFAULT '',
`type` varchar(10) NOT NULL DEFAULT '',
`title` varchar(256) NOT NULL DEFAULT '',
`content` text NOT NULL,
`created_at` int(11) NOT NULL DEFAULT '0',
`updated_at` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `uuid` (`uuid`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_unicode_ci;
DEFAULT CHARSET = utf8mb4;


create table if not exists `triggers`
Expand Down

0 comments on commit beb11a1

Please sign in to comment.