Skip to content

prepare release v1.34.4 #455

prepare release v1.34.4

prepare release v1.34.4 #455

Workflow file for this run

name: Tests
on:
push:
branches: ['*']
tags: ['v*']
pull_request:
branches: ['**']
jobs:
test:
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}
GOBIN: ${{ github.workspace }}/bin
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
strategy:
matrix:
go: ["stable", "oldstable"]
include:
- go: "stable"
latest: true
COVERAGE: "yes"
LINT: "yes"
- go: "oldstable"
LINT: "yes"
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
with:
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
- name: Load cache
uses: actions/cache@v1
with:
path: ~/.glide/cache
key: ${{ runner.os }}-go-${{ hashFiles('**/glide.lock') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install CI
run: make install_ci
- name: Test CI
env:
NO_TEST: ${{ matrix.NO_TEST }}
run: test -n "$NO_TEST" || make test_ci
- name: Cover CI
env:
COVERAGE: ${{ matrix.COVERAGE }}
run: test -z "$COVERAGE" || make cover_ci
- name: Lint CI
env:
LINT: ${{ matrix.LINT }}
run: test -z "$LINT" || make install_lint lint
- name: Crossdock CI
run: make crossdock_logs_ci