[go: up one dir, main page]

Skip to content

Add spinner while creating project and improve ci #38

Add spinner while creating project and improve ci

Add spinner while creating project and improve ci #38

Workflow file for this run

name: Linting
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.0'
- name: Deps cache
id: cache-go-deps
uses: actions/cache@v3
env:
cache-name: go-deps-cache
with:
path: ~/godeps
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
- if: ${{ steps.cache-go-deps.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: go mod graph
- name: Install dependencies
run: |
go mod tidy
go mod download
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3.7.0