Skip to content
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
44 changes: 22 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ env:

jobs:

# Verification:
# if: github.ref_name != 'main'
# name: Verification of all checks
# runs-on: ubuntu-latest
Verification:
if: github.ref_name != 'main'
name: Verification of all checks
runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v4
steps:
- name: Checkout code
uses: actions/checkout@v4

# - name: Set up Go ${{ env.GO_VERSION }}
# uses: actions/setup-go@v5
# with:
# go-version: ${{ env.GO_VERSION }}
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

# # - name: Cache Go modules
# # uses: actions/cache@v3
Expand All @@ -47,17 +47,17 @@ jobs:
# # ${{ runner.os }}-go-


# - name: Run Lint
# run: |
# echo "Running lint..."
# fmt_out=$(gofmt -l .)
# if [ -n "$fmt_out" ]; then
# echo "Go code is not formatted:"
# echo "$fmt_out"
# gofmt -d .
# exit 1
# fi
# go vet ./...
- name: Run Lint
run: |
echo "Running lint..."
fmt_out=$(gofmt -l .)
if [ -n "$fmt_out" ]; then
echo "Go code is not formatted:"
echo "$fmt_out"
gofmt -d .
exit 1
fi
go vet ./...

# - name: Run tests
# run: |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# testApp_sourcecode
test
aa
Loading