Skip to content

docs: Prepare for v0.1.17 release (#122) #481

docs: Prepare for v0.1.17 release (#122)

docs: Prepare for v0.1.17 release (#122) #481

Workflow file for this run

name: Run go tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install ASDF
uses: asdf-vm/actions/setup@v3
- name: Install matching Go toolchain
run: |
asdf plugin add golang
asdf install golang
- name: Go version
run: go version
- name: Install dependencies
run: go get ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Goreleaser checks
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --snapshot --clean
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Check Dockerfile is well-formed'
run: ./scripts/dockerfile_checks.sh
- name: 'Build Docker image'
run: |
docker build -t local-scip-go .
docker run local-scip-go scip-go --help
docker run --volume .:/sources --workdir /sources local-scip-go scip-go
file index.scip