Skip to content

Commit

Permalink
chore: updated actions and renaming master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
lmammino committed Oct 26, 2023
1 parent cb7185d commit b7a87d0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: "${{ matrix.environment.os }}"
name: "${{ matrix.environment.os }} (${{ matrix.environment.target }})"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
- uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Release on Crates.io
run: |
cargo login ${{ secrets.CARGO_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Clippy
run: |
rustup component add clippy
Expand All @@ -25,24 +25,24 @@ jobs:
strategy:
matrix:
environment:
- os: "ubuntu-18.04"
- os: "ubuntu-latest"
target: "x86_64-unknown-linux-gnu"
cross: true
- os: "macos-10.15"
target: "x86_64-apple-darwin"
cross: true
- os: "ubuntu-18.04"
- os: "ubuntu-latest"
target: "x86_64-pc-windows-gnu"
cross: true
packages: "gcc-mingw-w64"
- os: "ubuntu-18.04"
- os: "ubuntu-latest"
target: "armv7-unknown-linux-gnueabihf"
cross: true
packages: "gcc-arm-linux-gnueabihf"
runs-on: "${{ matrix.environment.os }}"
name: "${{ matrix.environment.os }} (${{ matrix.environment.target }})"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
- uses: actions-rs/toolchain@v1
Expand All @@ -67,7 +67,7 @@ jobs:
- test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install perftools
run: |
sudo apt-get update
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ At this point `jwtinfo` will be available as a binary in your system.
The following script will download and install precompiled binaries from the latest GitHub release

```bash
curl https://raw.githubusercontent.com/lmammino/jwtinfo/master/install.sh | sh
curl https://raw.githubusercontent.com/lmammino/jwtinfo/main/install.sh | sh
```

By default it will install the binary in `/usr/local/bin`. You can customize this by setting the `INSTALL_DIRECTORY` environment variable before running the script (e.g. `INSTALL_DIRECTORY=$HOME` will install the binary in `$HOME/bin`).
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# - DEP_ARCH (optional): use a specific value for ARCH (mostly for testing)
#
# You can install using this script:
# $ curl https://raw.githubusercontent.com/lmammino/jwtinfo/master/install.sh | sh
# $ curl https://raw.githubusercontent.com/lmammino/jwtinfo/main/install.sh | sh

set -e

Expand Down

0 comments on commit b7a87d0

Please sign in to comment.