Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update action and go version (and ignore prerelease for auto update) #305

Merged
merged 4 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ updates:
commit-message:
prefix: chore
include: scope
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
time: "02:00"
open-pull-requests-limit: 10
commit-message:
prefix: chore
include: scope
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# to the issue
project-url: https://github.com/orgs/zitadel/projects/2
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
- uses: actions-ecosystem/action-add-labels@v1.1.0
- uses: actions-ecosystem/action-add-labels@v1.1.3
if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'staff')}}
with:
github_token: ${{ secrets.ADD_TO_PROJECT_PAT }}
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,32 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
go: ['1.19', '1.20', '1.21']
go: ['1.19', '1.20', '1.21', '1.22']
name: Go ${{ matrix.go }} test
steps:
- 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 }}
- run: go test -race -v -coverprofile=profile.cov ./pkg/...
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v4
with:
file: ./profile.cov
name: codecov-go
token: ${{ secrets.CODECOV_TOKEN }}
release:
runs-on: ubuntu-22.04
needs: [test]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Source checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v4
with:
dry_run: false
semantic_version: 17.0.4
semantic_version: 19.0.2
extra_plugins: |
@semantic-release/exec@5.0.0
@semantic-release/exec@6.0.3
4 changes: 3 additions & 1 deletion .github/workflows/update-zitadel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: update zitadel api
steps:
- name: checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: check input tag
if: ${{github.event_name == 'workflow_dispatch'}}
id: check-input
Expand All @@ -32,6 +32,8 @@ jobs:
with:
repository: zitadel/zitadel
releases-only: true
# ignore prereleases
regex: '^v([0-9]+)\.([0-9]+)\.([0-9]+)$'
- name: set tag
id: tag
run: |
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ Versions that also build are marked with :warning:.
|---------|--------------------|
| <1.19 | :x: |
| 1.19 | :warning: |
| 1.20 | :white_check_mark: |
| 1.20 | :warning: |
| 1.21 | :white_check_mark: |
| 1.22 | :white_check_mark: |

## License

Expand Down
Loading