diff --git a/.github/workflows/cov.yaml b/.github/workflows/cov.yaml index d878f62f..39fd0cbf 100644 --- a/.github/workflows/cov.yaml +++ b/.github/workflows/cov.yaml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v3 with: path: src/github.com/nats-io/nats-server ref: dev @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19.x + go-version: '1.19.x' - name: Run code coverage shell: bash --noprofile --norc -x -eo pipefail {0} @@ -38,7 +38,7 @@ jobs: infile: acc.out - name: Coveralls - uses: coverallsapp/github-action@1.1.3 + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.github_token }} path-to-lcov: coverage.lcov diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 97e69808..d73409d3 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -7,7 +7,7 @@ jobs: matrix: # This should be quoted or use .x, but should not be unquoted. # Remember that a YAML bare float drops trailing zeroes. - go: ['1.16'] + go: ['1.19'] env: GOPATH: /home/runner/work/nats-server @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v1 + uses: actions/checkout@v3 with: path: src/github.com/nats-io/nats-server - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v3 with: go-version: ${{matrix.go}}