Skip to content

Commit

Permalink
fix: make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Echin-h committed Oct 1, 2024
1 parent 89dcc7e commit e83946f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 40 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
with:
fetch-depth: 0
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-go@v4
with:
node-version: 20
go-version: '1.20'

- name: Install Go dependencies
run: go mod download

- name: Install Node.js dependencies
- name: Run Go Lint
run: |
npm ci
npm install --save-dev eslint
go install golang.org/x/lint/golint@latest
golint ./...
- name: Run lint
run: npm run lint
build:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3

- name: Build Go Project
run: make build
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Build the application
run: |
go mod tidy
go build -v ./...
20 changes: 0 additions & 20 deletions package.json

This file was deleted.

0 comments on commit e83946f

Please sign in to comment.