mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-17 04:30:56 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
39 lines
788 B
YAML
39 lines
788 B
YAML
name: build-and-test-tablizer
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
version: [1.18, 1.19]
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
name: Build
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Set up Go 1.18
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.version }}
|
|
id: go
|
|
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: build
|
|
run: make
|
|
|
|
- name: test
|
|
run: make test
|
|
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.18
|
|
- uses: actions/checkout@v4
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
skip-cache: true
|