Skip to content

Commit

Permalink
Merge pull request #7 from deeagle/dev/task_adapt-ci
Browse files Browse the repository at this point in the history
Dev/task adapt ci
  • Loading branch information
deeagle authored May 28, 2024
2 parents 4c182f7 + d702365 commit 0a9abb3
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 10 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: CI

on:
push:
branches: [ main ]
branches:
- main
pull_request:
branches: [ main ]
branches:
- main

jobs:
lint-readme:
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/release-tst.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Release test

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
permissions:
contents: write
issues: write

on:
push:
branches: [ main ]
branches:
- main
pull_request:
branches: [ main ]
branches:
- main

jobs:
# Only for testing of the release environment.
Expand All @@ -20,7 +24,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: Install dependencies
run: npm install @semantic-release/changelog @semantic-release/git @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git semantic-release/release-notes-generator
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Release version

permissions:
contents: write
issues: write

on:
push:
branches:
- main
schedule:
- cron: '0 3 * * 0'
workflow_dispatch:

jobs:
release:
Expand All @@ -21,7 +25,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20

- name: Install dependencies
run: npm install @semantic-release/changelog @semantic-release/git @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git semantic-release/release-notes-generator
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM alpine:3
FROM alpine:3.20

LABEL org.opencontainers.image.authors="Martin Kock <code@deeagle.de>" \
org.opencontainers.image.url="https://github.com/deeagle/xmllint-container" \
org.opencontainers.image.title="XML/DTD tools." \
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

![Build status](https://github.com/deeagle/xmllint-container/workflows/CI/badge.svg)
![Build status](https://github.com/deeagle/xmllint-container/workflows/Release%20version/badge.svg)
[![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg)
[![Alpine](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)
[![Docker](https://badgen.net/badge/icon/docker?icon=docker&label)](https://hub.docker.com/r/docdee/xmllint)

Expand Down

0 comments on commit 0a9abb3

Please sign in to comment.