mirror of
https://codeberg.org/scip/gfn.git
synced 2025-12-16 18:30:57 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [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/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
37 lines
742 B
YAML
37 lines
742 B
YAML
name: build-and-test-gfn
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
version: [1.24.5]
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
name: Build
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Set up Go ${{ matrix.os }}
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '${{ matrix.version }}'
|
|
id: go
|
|
|
|
- name: checkout
|
|
uses: actions/checkout@v5
|
|
|
|
- name: build
|
|
run: go build
|
|
|
|
- name: test
|
|
run: make test
|
|
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.24
|
|
- uses: actions/checkout@v5
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v8
|