diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 366e7c5..72ed1e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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: | diff --git a/README.md b/README.md index 6db2cbe..466b0b4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # testApp_sourcecode test +aa