Skip to content

fix: use GORELEASER_CURRENT_TAG #225

fix: use GORELEASER_CURRENT_TAG

fix: use GORELEASER_CURRENT_TAG #225

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Check mod
run: |
go install
git diff --exit-code
- run: go build
- run: go build github.com/loilo-inc/canarycage/cli/cage
- run: go test ./... -coverprofile=coverage.txt -covermode=count
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
files: coverage.txt