From af8232a4d3be587362609b403759839e6fbc1e83 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Sun, 10 Mar 2024 06:08:22 +0000 Subject: [PATCH] chore: update actions --- .github/workflows/ci.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0a9bd9..00f7074 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version-file: "go.mod" - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -23,10 +23,12 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version-file: "go.mod" - run: docker-compose up -d - run: go run main.go migrate - run: go test -v ./... -covermode=atomic -coverprofile=coverage.out - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: files: coverage.out + token: ${{ secrets.CODECOV_TOKEN }} + slug: 1995parham-teaching/tinyurl