This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
chore: update README regarding project merged into Terramate #173
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2021 Mineiros GmbH | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
name: ci | |
on: [push] | |
jobs: | |
checks: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: checking go mod tidyness | |
run: make mod/check | |
- name: linting code | |
run: make lint | |
- name: checking license on source code | |
run: make license/check | |
build_test: | |
name: Build and Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# "macos-10.15" disabled temporarily. | |
os: ["ubuntu-20.04", "windows-2022"] | |
go: ["1.18", "1.19"] | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: make test | |
run: make test | |
- name: make build | |
run: make build | |
release_dry_run: | |
name: Release Dry Run | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: setup go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.19" | |
- name: release dry run | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
distribution: goreleaser | |
version: v1.2.5 | |
args: release --snapshot --rm-dist |