Skip to content

Remove/replace obsolete scripts #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/check-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,25 @@ jobs:
- name: Check for errors
run: task go:vet

check-outdated:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Task
uses: arduino/actions/setup-taskfile@master
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Modernize usages of outdated APIs
run: task go:fix

- name: Check if any fixes were needed
run: git diff --color --exit-code

check-style:
runs-on: ubuntu-latest

Expand Down
5 changes: 5 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ tasks:
cmds:
- go vet {{default .DEFAULT_GO_PACKAGES .GO_PACKAGES}}

go:fix:
desc: Modernize usages of outdated APIs
cmds:
- go fix {{default .DEFAULT_GO_PACKAGES .GO_PACKAGES}}

go:lint:
desc: Lint Go code
cmds:
Expand Down
77 changes: 0 additions & 77 deletions extract_library_from_issue.sh

This file was deleted.

8 changes: 0 additions & 8 deletions fmt_fix_vet

This file was deleted.