Skip to content

[gh-actions] Bump docker/login-action from 1.10.0 to 3.3.0 (#14) #61

[gh-actions] Bump docker/login-action from 1.10.0 to 3.3.0 (#14)

[gh-actions] Bump docker/login-action from 1.10.0 to 3.3.0 (#14) #61

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
env:
GO_VERSION: "1.23.0"
GO_LANG_CI_LINT_VERSION: "v1.60.1"
name: run tests
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
- name: Run linters
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GO_LANG_CI_LINT_VERSION }}
test:
strategy:
matrix:
go-version: [ "1.23.0", "1.22.5" ]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Run tests
run: go test -v -covermode=count
coverage:
runs-on: ubuntu-latest
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
- name: Calc coverage
run: |
go test -v -covermode=count -coverprofile=coverage.out
- name: Coveralls
uses: coverallsapp/github-action@643bc377ffa44ace6394b2b5d0d3950076de9f63 #2.3.0
with:
github-token: ${{ secrets.github_token }}
file: coverage.out
format: golang