Skip to content

Commit

Permalink
ci: fix FE checkout path and go.mod version
Browse files Browse the repository at this point in the history
  • Loading branch information
mrf345 committed Aug 29, 2024
1 parent 0e9cb3a commit 1eb1dd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache-dependency-path: |
go.sum
cache-dependency-path: go.sum
- name: Install dependencies
run: go get .
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
- name: Test backend
run: go test -count=2 ./...

Expand All @@ -31,15 +26,16 @@ jobs:
matrix:
os: [ubuntu-latest]
go: [stable]
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: 'frontend/mobile'
sparse-checkout-cone-mode: false
- uses: actions/setup-node@v4
with:
node-version: '20.8.0'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm i
- name: Lint
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ run:
linters:
enable:
- lll
disable:
- typecheck
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module safelock

go 1.22

toolchain go1.23.0

require (
github.com/google/uuid v1.3.0
github.com/mrf345/desktop-entry v0.0.3
Expand Down

0 comments on commit 1eb1dd0

Please sign in to comment.