Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Feb 28, 2024
1 parent 6a26580 commit a7e5569
Show file tree
Hide file tree
Showing 11 changed files with 98 additions and 96 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Code Base 🕵🏻‍♀️
uses: github/super-linter/slim@v4
uses: super-linter/super-linter/slim@v6
env:
LINTER_RULES_PATH: /
VALIDATE_ALL_CODEBASE: false
Expand All @@ -50,17 +50,17 @@ jobs:
- 1.21.3
steps:
- name: Checkout Repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Go 🐹
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: go.sum

- name: Lint Go Code 🕵🏻‍♂️
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: latest
only-new-issues: false
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,26 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Go 🐹
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: 1.21.3
cache: true
cache-dependency-path: go.sum

- name: Log in to the Container registry 🗝
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run GoReleaser 🚀
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
shell: bash
steps:
- name: Checkout Repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Go 🐹
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
Expand All @@ -45,7 +45,7 @@ jobs:

- name: Check whether JUnit XML report exists 🚦
id: check-junit-xml
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: junit-report.xml

Expand All @@ -59,7 +59,7 @@ jobs:

- name: Check whether coverage reports exists 💭
id: check-coverage-reports
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: >-
coverage.xml,
Expand All @@ -80,7 +80,7 @@ jobs:

- name: Upload report 🔼
if: steps.check-coverage-reports.outputs.files_exists == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: |
Expand All @@ -96,10 +96,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Go 🐹
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
Expand Down
6 changes: 3 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
# - darwin
# - windows
goarch:
- amd64
- arm64
# - arm64
ldflags:
- -s -w
- -X go.szostok.io/version.version={{.Version}}
Expand Down
4 changes: 2 additions & 2 deletions cmd/construct.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func ConstructOutputPackageList(packages []PackageDescription, packagesFiles map
outputPackageList = append(outputPackageList, PackageDescription{
p.Package, p.Version, p.Source, "", []Dependency{},
p.RemoteType, p.RemoteHost, p.RemoteUsername, p.RemoteRepo, p.RemoteSubdir,
p.RemoteRef, p.RemoteSha, []string{},
p.RemoteRef, p.RemoteSha, []string{}, "",
})
}
for _, p := range packages {
Expand Down Expand Up @@ -120,7 +120,7 @@ func ResolveDependenciesRecursively(outputList *[]PackageDescription, name strin
// during the processing of output package list into renv.lock file.
*outputList = append(*outputList, PackageDescription{
p.Package, p.Version, "Repository", r, []Dependency{},
"", "", "", "", "", "", "", []string{},
"", "", "", "", "", "", "", []string{}, "",
})
for _, d := range p.Dependencies {
if d.DependencyType == "Depends" || d.DependencyType == "Imports" ||
Expand Down
Loading

0 comments on commit a7e5569

Please sign in to comment.