Skip to content

Commit

Permalink
Merge pull request #199 from EmilienM/gv2
Browse files Browse the repository at this point in the history
Bump to gophercloud v2.0.0-beta.1 + CI Hygiene
  • Loading branch information
mandre authored Feb 14, 2024
2 parents 80377ec + 42e7386 commit c8cd627
Show file tree
Hide file tree
Showing 88 changed files with 205 additions and 1,982 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
11 changes: 5 additions & 6 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,31 @@ on: [push, pull_request]
name: Unit Testing
jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version:
- "1.15"
- "1.21"

env:
GO111MODULE: "on"

steps:
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup environment
run: |
# Changing into a different directory to avoid polluting go.sum with "go get"
cd "$(mktemp -d)"
go mod init unit_tests
# Pin to a version that Go v1.15 supports
go get golang.org/x/tools/cmd/[email protected]
go install golang.org/x/tools/cmd/goimports@latest
- name: Run go vet
run: |
Expand Down
50 changes: 0 additions & 50 deletions acceptance/clients/clients.go

This file was deleted.

54 changes: 0 additions & 54 deletions acceptance/gnocchi/metric/v1/archivepolicies.go

This file was deleted.

68 changes: 0 additions & 68 deletions acceptance/gnocchi/metric/v1/archivepolicies_test.go

This file was deleted.

132 changes: 0 additions & 132 deletions acceptance/gnocchi/metric/v1/measures.go

This file was deleted.

Loading

0 comments on commit c8cd627

Please sign in to comment.