Skip to content

Prevent new versions from being uploaded with the same semver #572

Prevent new versions from being uploaded with the same semver

Prevent new versions from being uploaded with the same semver #572

Workflow file for this run

name: generated
on:
- push
- pull_request
jobs:
atlas:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Hash migrations
run: mise run migrate_hash
- name: Make sure all changes generated
run: echo 'ci_migration' | mise run migrate_diff
- name: Tidy
run: go mod tidy
- name: Ensure no changes
run: git diff --exit-code
go:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Run generation tasks
run: mise run generate
- name: Tidy
run: go mod tidy
- name: Ensure no changes
run: git diff --exit-code