diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25187cd..dcc9cb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: sqlite: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: actions/setup-go@v5 with: { go-version-file: go.mod } - name: gofmt @@ -27,7 +27,7 @@ jobs: vulncheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # The latest patch release: go.mod pins the minimum Go, and the standard library fixes come with the toolchain. - uses: actions/setup-go@v5 with: { go-version: stable } @@ -45,7 +45,7 @@ jobs: MIGRO_TEST_DIALECT: postgres MIGRO_TEST_DSN: host=localhost user=postgres password=postgres dbname=migro port=5432 sslmode=disable steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: actions/setup-go@v5 with: { go-version-file: go.mod } - run: go test -race -p 1 -count=1 ./... @@ -62,7 +62,7 @@ jobs: MIGRO_TEST_DIALECT: mysql MIGRO_TEST_DSN: root:root@tcp(127.0.0.1:3306)/migro?parseTime=true steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: actions/setup-go@v5 with: { go-version-file: go.mod } - run: go test -race -p 1 -count=1 ./... @@ -82,7 +82,7 @@ jobs: MIGRO_TEST_DIALECT: mariadb MIGRO_TEST_DSN: root:root@tcp(127.0.0.1:3306)/migro?parseTime=true steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: actions/setup-go@v5 with: { go-version-file: go.mod } - run: go test -race -p 1 -count=1 ./... @@ -94,7 +94,7 @@ jobs: MIGRO_TEST_DIALECT: cockroachdb MIGRO_TEST_DSN: host=localhost user=root dbname=defaultdb port=26257 sslmode=disable steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: actions/setup-go@v5 with: { go-version-file: go.mod } - name: start cockroachdb @@ -122,7 +122,7 @@ jobs: MIGRO_TEST_DIALECT: sqlserver MIGRO_TEST_DSN: sqlserver://sa:Migro_Passw0rd@localhost:1433?database=migro steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: actions/setup-go@v5 with: { go-version-file: go.mod } - name: create the test database # master holds system tables the suite would try to drop diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 91db300..dcd76e8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,7 +19,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: { fetch-depth: 0 } # every tag is built - uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f38595..8ad8586 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: { fetch-depth: 0 } - uses: actions/setup-go@v5 with: { go-version-file: go.mod }